How to get all the status/transition in Jira API ?
http://example.com/rest/api/2/workflow/ returns
[{"name":"jira","description":"The default JIRA workflow.","steps":5,"default":true}]
No id is present in the output, so not able to get workflow details/components.
http://example.com/jira/rest/api/2/issue/PROJ-1/transitions provides only issue specific transition, I need future transitions too.
Any pointer or suggestion would be appreciated.
http://example.com/jira/rest/api/2/issue/PROJ-1/transitions
. As you mentioned, it gives issue specific transitions but those should be all statuses that issue can be in. – ThePavolC