Build custom query to retrieve tasks using asana api - asana

I am using asana api to retrieve tasks to build a dashboard. For that I need to build custom query like retrieving tasks within a date range or due_on 'some date' etc.
Is there anyway to achieve this using asana api? or any other alternative?
If not when can we expect this feature added to asana api?
Thanks in advance,

We plan to offer a Search API (which would let you query tasks in a similar way to the search tool in-product, though it may actually expose a few more tricks), but there's no ETA on that just yet.

Related

Microsoft graph API: /me/drive/root/search - can't add filters to query

I'm trying to make search request for my OneDrive files with some specific extensions. Only solution I've got right now is to filter out after received response but that's not what I'm looking for.
Query I tried:
https://graph.microsoft.com/v1.0/me/drive/root/search(q='book filetype:xlsx OR filetype:xls OR filetype:svg OR filetype:json OR filetype:txt')
Unfortunately it's not returning anything.
AFAIK, the search endpoint will search the keyword like 'book' with all the extensions and give the driveItem objects as response. You need to filter it on your end which extension you like to pick by writing the code. Please raise a feature request in Microsoft Graph Feedback Forum so that the Product team may implement it in future.

How to get JIRA issues assigned to the current user using the JIRA REST API?

I'm trying to get a list of issues assigned to the current logged in user using the JIRA REST API, but I can't find any documentation on how to do that.
What do I need to do in order to get the issues assigned to the current user?
You can specify the issues you want to receive by using jql.
In your case rest/api/2/search?jql=assignee=currentuser() should do the trick.
Here is the relevant part of the documentation of the REST api and here is the description of the used jql-function.

How can I write group by in jira jql?

I am working on few reports in which I am taking data from jira using REST API. For searching purpose, I am using JQL. I want to use group by tag for few of my queries. How can I use group by tag in JQL?
Out-of-the box you can't. You might achieve this by:
use jira remote api to get 2 jql outputs and group them as you wish
create your own JQL function
query the DB directly (example)

How can you get the subtasks using the Asana REST API?

Last week Asana anounced the new sub tasks capability (http://blog.asana.com/2012/10/introducing-asana-subtasks/). Does anyone know how to access subtasks using the REST api? They are not documented at http://developer.asana.com/documentation
When I emailed Asana api-support, they said to ask the question here! ...not sure what that is about.
You can use the tasks API to get a list of the subtasks, e.g.
https://app.asana.com/api/1.0/tasks/2139407382883/subtasks
and then use the subtask IDs you get back with the tasks API. That is, a subtask is treated as a bono fide task by the API.

Tasks and Box API

Does anyone know if there are any plans to add tasks to the api? Like the ability to add or complete tasks? Attach tasks to documents?
Thanks and cheers,
Chad
Yes, there are plans to add tasks to the V2 API. It is not part of our short list to get the V2 API to GA status, but will probably come shortly afterwards.
If you have specific uses for tasks that you'd be willing to share with us, you can let us know more details via email at api at Box dot com.

Resources