pblake02 / Jira-to-Power-BI-API

0 stars 0 forks source link

API only returning 1 result #2

Closed pblake02 closed 4 months ago

pblake02 commented 4 months ago

API is only allowing one result to be searched at a time.

e.g. https://pblake02.atlassian.net/rest/api/3/issue/SCRUM-6

pblake02 commented 4 months ago

Tried creating a custom filter that returns 'All issues' by not passing any JQL criteria in the URL query string.

Something like &maxResults=100 at the end of the URL worked previously (could be a limitation of the Jira API v3)

e.g. https://pblake02.atlassian.net/rest/api/3/issue/search?jql=ORDER%20BY%20Created &maxResults=100

Forum discussion: How to get all issues in jira using rest api?

pblake02 commented 4 months ago

Solution: Removed issue/{issueID or IssueKey} from the url and replaced with search?jql=

e.g. https://pblake02.atlassian.net/rest/api/3/search?jql&maxResults=100