It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to use an API call to get all issue ids that are in progress by assignee?

I want to use an API call to get all issues that are listed as "in progress" where the assignee is a specific user. I have a could of questions: 1) is this feasible to obtain through an api call and 2) what would be the best approach to obtain the information?

1 answer

1 accepted

1 vote
Answer accepted
DPK J Community Leader Sep 09, 2019

1. Yes this can be obtained using API call.

2. Best way to get this is issue search api that takes JQL statement.

 

Here is reference to that api - https://docs.atlassian.com/software/jira/docs/api/REST/8.2.2/#api/2/search-search

 

And here is curl example,

curl -D- -u <USER_NAME>:<PASSWORD> -X GET -H "Content-Type: application/json" <JIRA_BASE_URL>/rest/api/2/search?jql=<JQL_QUERY> 

Above you can replace JQL_QUERY with url encoded,

status = "In Progress" AND assignee = "<ASSIGNEE_NAME>"

This is very helpful. Thank you!

DPK J Community Leader Sep 10, 2019

@Michaiah Gartner you are welcome.

if you found this helpful mark it as accepted answer/like so it can help others.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

229 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you