Hi,
I'm using the JRJC rest API and am looking for a way to get status category information. I do not see any way to do this using the JRJC libraries. Is this missing because the targeted minimum JIRA version does not have status categories supplied via REST? Would there be an easy way for me obtain the status categories?
Community moderators have prevented the ability to post new answers.
Which JIRA version are you targeting?
The REST API contains endpoints for getting information about all categories, as well as the current category of a given issue (since JIRA version 6.1):
GET /rest/api/2/statuscategory GET /rest/api/2/statuscategory/{idOrKey}
More information can be found here.
I don't think these are exposed in the Java REST client, though - you can invoke them using an arbitrary REST client.
No, they aren't - just use an arbitrary client like Apache's httpclient or Rest-assured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is also an open pull request by Jamie Echlin so you may want to watch that as well: https://bitbucket.org/atlassian/jira-rest-java-client/pull-requests/34/add-status-category/diff.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah! There's an open pull request since 2016!!! How often are those pull requests analysed? I made my self implementation over master to gather this functionality.
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.