JIRA Project ID

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?

3 answers

1 accepted

5 votes
Accepted answer


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!

You can also simply copy the link of the Edit button instead of opening the page source. :)

^^^^^^ this works. (thumbsup)

Probably best to mention to view the Page Source, you don't need to open the Edit Window. You have to look for the PID for that project. All the projects will be listed on that page.

3 votes

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&amp;pid=value&amp;avatarId=11901">

Thx for finding out. Worked for me.

Here are the steps, clarified by Atlassian support:

doesnt work anymore because it now shows the project id name. The annoying part is that in the filter it automatically transform it from the id name to the pid and it's very hard to edit without doing some research.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

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...

2,766 views 18 21
Read article

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