How do you find out the ID associated with a JIRA projec - so, not the key, but the actual ID as I need to use it in a URL that will be a button, than, when clicked, automatically populates the correct project and issue type. Issue type I can get from the URL after navigating to it within Administration. But, am having a hard time finding it for the project in any URL - it always references the key. Any ideas?
If you navigate to your Project list in the Administration, you can find the Project ID (pid) in the URL of the 'Edit' button. (http://yourjira.com/secure/project/ViewProjects.jspa)
Alternatively, you can select * from project in the JIRA database.
That's what I thought I did before. However, now, when i edit the project, a modal dialog displays instead of navigating to a separate URL. However, it did give me the id that if I viewed source and searched for pid I could locate it -- which I did. I don't have access to the db directly (without lots of requests!). Thanks!
Above described approach didn't work for me since I don't have rights to edit projects. You can find pid from page source code:
Open project combo box and inspect the one you're interested in. Check <img> tag:
<img class="icon" alt="" src="https://my_jira/secure/projectavatar?size=xsmall&pid=value&avatarId=11901">
Here are the steps, clarified by Atlassian support:
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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