jira statuses

r May 26, 2015

I want to know all the possible statuses for an issue.

How do I get the list of JIRA status available for an issue using java code?

 

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 26, 2015

Hi,

I am not sure what you meant by 'status available', but you can get all statuses by StatusManager

https://docs.atlassian.com/jira/latest/com/atlassian/jira/config/StatusManager.html#getStatuses()

Also, you can get valid statuses list per project via REST : /rest/api/2/project/{projectIdOrKey}/statuses

https://docs.atlassian.com/jira/REST/latest/#d2e2738

 

Hope it helps

Tuncay

r May 27, 2015

It worked......... Thanks!!

0 votes
r May 26, 2015

Hi,

I have checked the above earlier i. but I need to get the same using some java code but not with the rest call.

0 votes
Ivar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2015
TAGS
AUG Leaders

Atlassian Community Events