Is there any API to retrieve a project ID by passing the project name

For our automation testing - Users will pass 'Project Name', 'Version Name' and 'Cycle Name' in the test suit Json, we are trying to create test cycles under the given project and version. Is there any API that can give us the project ID based on the passed project and version name. Or is there any way to identify these IDs from UI

1 answer

1 accepted

0 votes
Accepted answer

Or you can find project id by project key. You have to execute GET /rest/api/2/project/{projectIdOrKey}. You can find more info here:

Thank you for the quick reply!!

If my answer helped you, Kindly accept my answer. In this case other users with a similar question will be able to find this answer.

Thank you for the documentation, there is lot of useful information. I am able to get project ID by passing project Key now. However I am still not able to get Version ID by passing Version name. I wish there is a way to get version ID from UI.

Yes, It partially helped me.

You can find version id in ui. Open the version in Jira and look at the url. It will look like this:


The last part is the version id (10001)

Thank you, it worked

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

83 views 0 4
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