Tables in JIRA DB containing the project id and schemes associated with it

I want to create a list containing projects, issue types associated with that projects and schemes associated with that projects. I was looking for a table in JIRA DB which contains a relation between projects and schemes associated with it. 

Is there any table in JIRA DB containing projects id and schemes associated with it ?

2 answers

1 vote

Try nodeassociation - that holds some of the scheme relations.

that was a droid i was looking for!

Hi mohit,

  • There is no direct table which has project ids and schemes associated with it.                 
  • You can create a list containing projects and their issue types 

    select * from jiraissue where PROJECT=<Project_ID> AND issuetype=<Issuetype ID>;
  • To get the Project ID and Issuetype ID you have to look into project and issuetype tables respectively.

  • This gives all the issues of that particular Project and corresponding issue type associated with the Project

Regards

Chander Inguva

Is there any way to find the projects and the schemes(i.e workflow scheme, issue type screen scheme, field configuration scheme ) associated with that project.

Look in nodeassociation. It's better that we don't hand it to you on a plate, because having a look is the best way to learn and understand it.

I'd probably use Script Runner and google. https://answers.atlassian.com/questions/11146/how-to-look-at-issue-type-in-condition-section-of-script-post-function-function-for-a-transition is the first hit with comments from Jamie but there are a few others

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,301 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot