Where do the status categories come from?

Hello,

I wonder where the three status categories come from? Are they hard coded or somewhere saved in the database?

I only find the column “statuscategory” in the “jiraissue” table. There are values like 2, 3 or 4 but I feel bad about to use “4” hard coded in my plugin as that what it is. Isn’t there a way to determine the category “in progress” for example, and the function returns 4? Or are 2,3,4 fix number values all around the world and in all server instances? I can’t believe that.

Kind regards
Manuel

Hi @m.miessner

please check https://docs.atlassian.com/software/jira/docs/api/8.13.1/com/atlassian/jira/issue/status/category/StatusCategory.html and Field Summary

Cheers
Adam

2 Likes