How to get the details of fixversion using fixversion name?

How to get the details of fix version using fix version name?

I know I can get the details of all the fix version using below mentioned rest API

rest/api/2/project/{project Name}/versions/.

 

But I want to get the details of specific fix version. is there any API?

or I need to iterate through response

1 answer

0 votes

It should be possible by either expanding some fields or by using /rest/api/2/search endpoint. 

However, what kind details are you trying to get for a specific version? 

 

Cheers,
Dario

Every fixversion has details like released:true, releaseDate.

 

I want to extract these value using rest. I know I can do if I know internal ID of fixversion but how I can get these details by using name of fixversion.

As documented you can only use the version ID:
https://docs.atlassian.com/jira/REST/cloud/#api/2/version

 

You cannot use the name since different releases in differerent projects can have the same name/version.

 

One thig you can do is to call rest/api/2/project/{project Name}/versions/, search for the release name, get the ID and then call /rest/api/2/version/{id}

that is what I am doing but as my project has more than 1000 fix version so it is quite slow to iterate through all.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

59 views 4 0
View post

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