Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need Version Id and Project Id of Jira from API call

Kiran Edupuganti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2018
Team,As per latest API , I am able to get "JIRA" Projects list. I see "id" in the response. Should this be Project Id or Version Id. How to get Project Id and Version Id of the Project , Is there any separate API call.Old few entries in this forum says Version id and few says Project id. I am bit confused.I need project id and version id to get list of cycles from Zephyr which is integrated.I have used below "URI" to retrieve the project version , API hit is OK but not projects listed in the response. Given Valid Key and id as well. "/rest/api/2/project/Key/versions"

1 answer

1 vote
Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2018

Hi Kiran,

For Project ID:

  • Get all projects - you can get the ID of all the projects from the result.
  • Get project - if you know the Project Key and you would like to the ID of the Project, please use this.

For Version ID:

I hope that this helps.

Cheers,
Moga

Ramandeep Singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2020

Thanks Moga, this was really very useful. :)

Suggest an answer

Log in or Sign up to answer