Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Change status to released

I have a Board named ASDF, In that board under Relaeses tab I have a Version named: QWER. This version has 3 issues.

I want to change the status of the version to "Released" if all the issues are in "done" state. I don't know how to change the status to "Released".

I am trying to do this using JIRA-Python REST-API. I am also open to CLI method. 

3 answers

1 accepted

1 vote
Answer accepted

@tony cameraman 


To update release status you can use the following Rest API with PUT method. 

PUT http://{PutYourDomainHere}:Port/jira/rest/api/2/version/{id}

Body Example

"self": "http://{PutYourDomainHere}:Port/jira/rest/api/2/version/10000",
"id": "10000",
"description": "An excellent version",
"name": "New Version 1",
"archived": false,
"released": true,
"releaseDate": "2010-07-06",
"userReleaseDate": "06/Jul/10",
"projectId": 10000


So, if you are going to use JIRA-Python-API: 

You'll need to create a function "release_version" to update release it will be similar to "create_version" with add "id" and change the Rest method to be PUT instead of Post


So, to achieve your scenario:


You will use "version_count_unresolved_issues(id)" to get to the list of unresolved issues for a specific version ID, if it return 0 ---> execute "release_version"


I hope this will help

I tried this and it was working. I couldn't complete it, because i could not find the Version ID. I have the name for each project and versions. I am trying to figure out the ID's. Once I complete it i will mark yours as answer. Thank you for the help!!

can you tell what is "self". Most of the functions created are having "self" as one of the parameters. What should i define it?

Use self to represent the instance of the class

you can find more information here

 is it possible to find the IssueID if it is unresolved in a version?

Deleted user Jul 09, 2019
class myJIRA(JIRA):
def release_version(self, name, project):
version = self.get_project_version_by_name(project, name)
if version:


This is new method "release_version" in redefined class

If you want more information then visit

Suggest an answer

Log in or Sign up to answer
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

110 views 0 7
Read article

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