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

How to release a version using REST api?

ShaneL October 1, 2012

Hello:

I'd like to release a version, and move the issue which not fixed to next version,

can I using REST?

Or anyway to do this in automatically?

Thank you~

Best regards,

Latty

1 answer

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
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
October 1, 2012

You can use a combination of JIRA Command Line Interface actions to accomplish this:

  1. runFromIssueList using JQL to find all issues at the version that are not resolved
  2. updateIssue to update the fixVersions for all the issues from 1
  3. releaseVersion to release the version

If you are a Bamboo user, it can be included in a build using CLI Plugin for Bamboo

ShaneL October 2, 2012

Thank you!

But if I can only use REST api, not any plugin, is there anyway to do?

Thank you.

Bob Swift OSS (Bob Swift Atlassian Apps)
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.
October 2, 2012

You can check the rest apis - http://docs.atlassian.com/jira/REST/latest/. But I don't think there is one for this. SOAP is used to provide this capability in the JIRA CLI.

tony cameraman August 28, 2018

@ShaneL hi, can you post your answer how you did this? I am also facing the same problem.

TAGS
AUG Leaders

Atlassian Community Events