How can I find the project ID from a next gen project?

Tiago Araujo October 21, 2019

I'm creating a third party api that need the client to add their project id, but all my searches on the internet just return to use the link in the "Edit project" button from the classic jira.

I know that I can find it on the api call, but the tool is for project managers that may not have knowledge to make such calls. So where can I find this the GUI from a next gen project?

2 comments

PVS
Banned
October 21, 2019

Hi @Tiago Araujo 


To get the project and custom field ID, you can use our API.

https://your-domain.atlassian.net/rest/api/3/project
https://your-domain.atlassian.net/rest/api/3/field

You just need to change the "your-domain" and paste on your browser to search.
Then, search for the project name, and it will show the ID:

Screenshot 2019-06-03_10-43-34.pngScreenshot 2019-06-03_10-53-39.png

 

Note that, to make sure it's the correct custom field, check if the project ID matches.

Regards,

PVS

Tiago Araujo October 21, 2019

Thanks @PVS  . I don't want to be rude, but I explicitly wrote in my post that I'm already aware about that API call. What I need to, it to find the project ID on Jira Cloud GUI. Somewhere were  any user can find.

 

Is it available somewhere?

Like Cory Todd likes this
Chayce O'Neal August 27, 2020

Hey there, as it doesn't appear this is something that you can do through the GUI. I found an easier workaround than using Atlassian's API.

  1. Go to the details page of the project, it should like this: "https://[yourdomain].atlassian.net/jira/software/projects/[porject_key]/settings/details"
  2. View the source of the page using your browsers developer tools
  3. Search for `pid=` this will show something like: "https://[domain].atlassian.net/secure/projectavatar?pid=xxxx&avatarId=xxxx&size=xxlarge)"

There you can find the pid for a next-gen project.

Like # people like this
Mari Federow February 3, 2021

The API thing did not work for me at all, but this worked perfectly. You are a genius, thank you!

Mikalai Karol July 12, 2021

good idea, worked for me as well

Jeff Walker December 22, 2021

This didn't work for me there is no pid= text in the page

Sean Borman October 25, 2022

Search for "projectId".

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events