Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate the VersionReleaseEvent through Scriptrunner?

Matt Parks
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.
August 4, 2022

As a workaround to allow users to manage their versions in Jira without being project admins, I've created a basic script listener that can create/update/release versions based on a custom event.

The problem I am running into is that, even though the script calls the releaseVersions method from the VersionManager class, doing this doesn't actually generate the VersionReleaseEvent against that Version. I would like this to happen so I can call another script listener that will automatically transition any issues inside that Version to a Done status.

My question is: Does anyone know how to trigger the VersionReleaseEvent from inside a script listener?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.1
TAGS
AUG Leaders

Atlassian Community Events