The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

I have a scenario where I want to trigger a status change via script runner listener...

Eric Sebian
Contributor
March 7, 2025

I'm I want to use the listener in script runner so that when a user updates the fixed version this triggers a transition that has a transition screen associated with it to force the user to enter in release notes. Is this possible with script runner?

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Radek Dostál
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 Champions.
March 10, 2025

That's not what listeners and events are. They're background, system stuff, that has nothing to do with user sessions. If somebody updates an issue, an event is published inside the system, listeners can react to it and do their stuff, but everything is happening entirely inside.

What you're after is probably closest to https://docs.adaptavist.com/sr4js/latest/features/behaviours which can force changes to issue forms depending on changes to fields, such as if fix version is changed, then release notes becomes mandatory, with new description, etc.

Since it's pretty much entirely javascript based, there are loopholes to avoid it, such as bulk edit, REST, or any other automations. It shouldn't be considered 100% fireproof, but it does the job unless somebody really, really wants to bypass it.

0 votes
Tinker Fadoua
Community Champion
March 9, 2025

@Eric Sebian 

My guessing is it is not feasible. 

As you know transitions have Conditions, and Validators by adding a new transition using a listener, it may bypass some conditions or validators that can be critical to the workflow.

Best,

Fadoua

DEPLOYMENT TYPE
SERVER
VERSION
9.17.5
TAGS
AUG Leaders

Atlassian Community Events