How to get the details of fixversion using fixversion name?

Saurabh Garg July 12, 2017

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
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 13, 2017

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

Saurabh Garg July 13, 2017

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.

Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 13, 2017

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}

Saurabh Garg July 13, 2017

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.

Yasashree March 25, 2021

I have a release id I need to get the environment details under which the release has happened.

And build details of a release

Suggest an answer

Log in or Sign up to answer