The best way to get issues is to use search method and pass a valid jql.You can filter, order etc just like you do in UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
shat is the "valid jql" ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Server REST API: /rest/api/2/search?maxResults=-1
This will return the maximum issues allowed by the Jira configuration, I believe the default is 1000 issues.
Higher issues can be configured, but this is discouraged for performance reasons--this would affect the return results for the Issues search as well.
Edit: necro reply to @ionutale you don't need to add any JQL, just the /rest/api/2/search call will pull all of your issues and display up to the max limit allowed (default 50). If you want to add valid jql, just add a url encoded query parameter jql, e.g.: /rest/api/2/search?jql=assignee%3Dionutale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i also answer:
Valid JQL is : Jira Query Language
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.