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

In which table of jira database, we can find the jira issue ids of jira

Dhananjay Mukhedkar Jan 20, 2015

In which table of jira database, we can find the jira issue ids of jira

3 answers

2 votes
Amit Raj Feb 13, 2015

here is the link - https://developer.atlassian.com/jiradev/latest-updates/developer-changes-for-older-jira-versions/preparing-for-jira-6-1#PreparingforJIRA6.1-editprojectkeydb 


The Issue object (jiraissue table in the database) has now a new property called number (issuenum column in the database). The number property contains the numerical part of the issue key and the issue key is now represented by the number and project properties, rather than the key property (pkey column).


so to get the pkey-num combination e.g if issue is TEST-123 please run this query-

select p.pkey||'-'||j.issuenum from project p,jiraissue j where p.id=j.project and j.issuenum=123 and p.pkey='TEST';

raju I'm New Here Apr 09, 2019

I know Jira Stores the Test Issue information in jiraissue table . But where does the Jira stores the "New Folder" Information that is created under a Test Cycle 

1 vote
Udo Brand Jan 20, 2015

Should be JIRAISSUE

Dhananjay Mukhedkar Jan 21, 2015

I have checked it . I have the results with me. They are saved in the different id column of database in the JIRA issue table. However , I wanted to know how will I get to know where the the JIRA issue ids  are getting saved in database, which we can retrieve it from front end. Can I not get it from the database. for e.g TEST-300 is the JIRA issue id and I need to find it out from the database. From where will I get it.

Udo Brand Jan 21, 2015

TEST-300 is set together from PKEY and ID (separated by "-")

Like Raúl Peláez likes this
Dhananjay Mukhedkar Jan 21, 2015

However pkey is null in jira issue table.

Udo Brand Jan 21, 2015

Ah yes, this is due that you can change the project key now. So you would need to get the pkey from table project. See also the DB schema documentation: https://developer.atlassian.com/display/JIRADEV/Database+Schema

There's a note about this in the Preparing for JIRA 6.1 page I believe

0 votes
Dhananjay Mukhedkar Dec 09, 2015

Thanks Amit. It is a good answer.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,311 views 6 15
Read article

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