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. 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>"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Michaiah_Gartner you are welcome.
if you found this helpful mark it as accepted answer/like so it can help others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.