Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Dario B Atlassian Team Jul 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

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 Jul 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}

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you