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

Getting Versions in the administration board with rest api?

tuto May 27, 2015

 

Hi, I'm currently developping a C# program to get issues from JIRA to create versionning cards. I'm able to get issue with the Get method with no problem but I need to get the sub-version with their fields to do so but they are located in the administration bord. I didn't see a way to get it by searching here: https://confluence.atlassian.com/display/JIRA/Advanced+Searching+-+Fields+Reference

So, I wanted to know where to look or if there's a way to get those sub-version. I've joined a capture of what I need to get. Any ideas? Thx

image001.png

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2015

Hi tuto!

You can use JIRA REST API /rest/api/2/project/{projectIdOrKey}/versions: https://docs.atlassian.com/jira/REST/latest/#d2e2549

0 votes
tuto May 28, 2015

I have another problem now. I don't understand how to use the Url. I don't how to specified the project's versions. I don't the syntax for this. It works when I ask for the entire project but not when I specified the version.

Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2015

Use /rest/api/2/version/{id} GET to return specific version https://docs.atlassian.com/jira/REST/latest/#d2e2847 And here is tutorial to start with: https://developer.atlassian.com/jiradev/api-reference/jira-rest-apis/jira-rest-api-tutorials

0 votes
tuto May 27, 2015

Hi, thanks for the quick answer, I will try that.

TAGS
AUG Leaders

Atlassian Community Events