We are fetching global status values from the jira using the API call. But we are not getting some of the status values . Those status values are visible from UI itself.
Does the pagination required while fetching the status values from Jira ?
Any limitation of Jira API for bringing number of the records (jira global status values) ?
Hi Ashwini
Two things that can be checked:
For Point 1 ,
We are not making API call using Project Filter. We are doing (/rest/api/2/status) .
For Point 2 ,
Using the same user , we have checked within Jira UI and Jira API Call.
Still using the same user , we are not able to see in API but able to see from the Jira UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are right. The output seems to be limited to 50 records.
The maxResults attribute for extending the REST output does not seem to apply on the status query.
As an alternative you could fetch the status with a database SQL query:
select *
from ISSUESTATUS
order by sequence;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would like to confirm below scenario.
1. The status value has been added in jira global status.
2. That newly added status value has been associated with one workflow.
3. If that workflow is not associated with any of Jira project , then jira API for global status would give that status value or not.
Note :
1. At our end we found the similar scenario. After associating the workflow (in which newly newly added global status value added ) with one project the jira api was giving the newly added status value.
2. Without associating the workflow with any project the status was not given by Jira API.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.