It's very important for me get the issue type scheme associated of all projects in database. I dont find the way to get it. I don't know wich query I should execute.
Plese, help me.
Thanks so much!
This should return all Issue Types associated to the project "Test".
select IT.pname from project P join configurationcontext CC on P.id = CC. project join fieldconfigschemeissuetype FCI on FCI.fieldconfigscheme = CC.fieldconfigscheme join optionconfiguration OC on OC.fieldconfig = FCI.fieldconfiguration join issuetype IT on IT.id = OC.optionid where P.pname = 'Test'
Hope this helps
Thanks Marcus, but i need all the projects that doesnt have the default issue type scheme.
I think the correct query is:
select project.pname, pkey from project where project.ID not in ( select project.ID from project join configurationcontext on project.ID = configurationcontext.PROJECT where configurationcontext.customfield = "issuetype" and configurationcontext.FIELDCONFIGSCHEME != 10000 and configurationcontext.FIELDCONFIGSCHEME is not null)
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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