I'm coding an application where I need all open issues of a jira project. But how to get them? In my JSON I see a nested field "status" -> "name": "Open". So it's a nested field and I don't know how to access it. My query looks like this so far:
https://jira.companyname.com/rest/api/2/search?jql=project=key+and+cf[id]+is+not+empty&maxResults=1000
Jira considers open issues those who haven't yet a resolution, meaning they are unresolved. In your case I would change your http request with a jql which would search for the project = key and resolution = unresolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/rest/api/2/search?jql=project=your_key+AND+resolution=unresolved&maxResults=1000
Yours,
Cat Noir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.