How To Get Project Id In Jira

If you use Jira, you may occasionally require the project ID. This number distinguishes your project from others within the same Jira environment and is necessary for integrating with external systems or performing advanced searches within Jira.

Steps to get the Project ID in Jira

Let’s guide you on how to retrieve your Project ID in a few easy steps:

  1. First, log into your Jira account.

  2. On the top navigation bar, click on ‘Projects’ and choose the relevant project from the dropdown list.

  3. Once you are on the project’s homepage, look at the URL in your browser’s address bar. You will see a link similar to this:

    In https://yourdomain.atlassian.net/browse/PROJECTKEY-1, the ‘PROJECTKEY’ is your project key.

  4. Now let’s find the Project ID. Right click anywhere on the page and choose ‘Inspect’ to open the developer tools.

  5. In the developer tools pane, click on the ‘Console’ tab.

  6. Type or paste the following JavaScript command into the console and hit enter:

                    </p><pre>console.log(JS_GLOBALS.context.project.id)</pre>
                

    The output is the Project ID.

Remember, every project in Jira has a unique Project ID, even if they have the same Project Key. So, make sure you select the correct project when trying to find a Project ID.

Conclusion

Retrieving the Project ID in Jira is a straightforward process that only requires a few steps. Knowing how to find the Project ID can be beneficial, especially when dealing with large numbers of projects or when integrating Jira with other tools. We hope this guide has been helpful!