Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,377
Community Members
 
Community Events
165
Community Groups

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.

@DPK J If my account is disabled for that jira server can i still get into the tickets I did?

@DPK J can i get a list of JIRA_URIs from just my username and password?

Suggest an answer

Log in or Sign up to answer
TAGS

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