Is it possible to archive Version on release?

Jan Melichařík September 25, 2019

Hey,

i am quite new to Jira API communication and i would like to know, if it is possible to archive version on release?

In the documentation for jira.create_version i found parameter "archived=True" could work, but it doesnt seem to work so far.

Is there something i might be missing?

Thank you

1 answer

0 votes
Sreenivasaraju P
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.
September 25, 2019

Hi @Jan Melichařík ,

You can write on Listener on version release event.  Inside the Listener class , you can try below code.

 

 versionManager.archiveVersion(version, true);
Jan Melichařík September 25, 2019

And is it possible to use this for unreleased version as well? I might have understood the problem incorrectly. I aim to archive a version on creation, when the status might be still unreleased.

Suggest an answer

Log in or Sign up to answer