Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Status categories table

Hi,

As I'm working on JIRA databse, which table contains issue categories ?

I need to display the title of the category accordind to Jiraissue.issuecategory.

2 answers

0 votes
John Funk Community Leader Sep 02, 2020

Hi Hamid - Welcome to the Atlassian Community!

You can see the Database Schema here:

https://developer.atlassian.com/server/jira/platform/database-schema/#Databaseschema-ChangeHistory

Thank you John.

May be my question was not clear.

I'm looking for the table which contains the categories status (to do, in progress, Done, ...).

 

CHANGEGROUP and CHANGEITEM save the status changes over the time.

0 votes

None of them.  It's in the logic.

This is one of many reasons you should not be reading the database - it is hard to read and does not have everything you woud guess might be in it.

Could I ask what problem you are trying to solve that makes you think SQL is an answer?

I have the statuscategory field on jiraissue table that with 4 values (1,2,3,4). 

My question is : How can map these values to these onces : ToDo, In Progress, Done, ... the 4th one undefined for me.

There is no status category field on the jiraissue table.

There is a status field, but that refers to status.

To map the status to the statuscategory, you are going to need to code for it.

Thank you for your answer.

sorry, the statuscategory field is on issuestatus table.

I have already done things manually.

Ah, that makes more sense.  Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,570 views 12 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you