Forums

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

Is it possible to set a field value when a user clicks a transition?

Phil Bustin
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.
March 22, 2023

Is it possible to set a field value when a user clicks a transition, so that the new value appears in the transition screen?

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
March 22, 2023

Hello @Phil Bustin 

You can't create an Automation Rule that will execute when a status transition is selected but has not yet been completed. The Issue Transitioned trigger is triggered after the transition is completed.

You can't use Automation Rules to set values on Screens that are being used by Transitions.

There is a change request in Atlassian's backlog to build in support for setting default values in a Transition screen when the transition is selected.

https://jira.atlassian.com/browse/JRACLOUD-13604

It might be possible to do this with a third party app, like Adaptavist Scriptrunner, but I have not actually explored this use case in Jira Cloud.

Phil Bustin
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.
March 22, 2023

As a workaround, I set up transition pairs, so that the first transition has no screen, but triggers an automation that runs a second transition containing the screen.  It didn't work: apparently, a triggered transition won't show its screen.

Trudy Claspill
Community Champion
March 22, 2023

Correct. Automation rules don't allow for any user interaction in the midst of the rule execution.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events