Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Creating an automation that sets a custom field value with multiple transitions from the same two s

Creating an automation that sets a custom field value with multiple transitions from the same two s

Jason Huntowski November 19, 2025

I have Data Center vanilla. I have a workflow where I am trying to create an automation that will set a custom field to 1 of 3 values based on which transition the user sends the issue through between two statuses.

I have a status "In Progress" and a status "In Review". There are 3 different transitions that go between these 2 statuses...let's call them "Monitor", "Release" and "Cancel". I have a custom field called "Reason for In Review" which has 3 values corresponding to the 3 transition names. I would like to set the custom field value to the value that matches the transition that the user uses to go from the first status to the next status. So, if a user selects "Monitor" transition, the custom field would set to monitor. I KNOW this is easily done with add-ons such as JMWE or Scriptrunner, but we are not that bougie here. I believe this can also be accomplished by cloud, but we are running DC. I also know that in automations, you can specify a specific transition ID if you are transitioning based on a field change or something like that, however, the automation that uses "Transition Issue" as the trigger, does NOT let you specify which transition ID...just a generic from this status to this status...completely ignorant to which transition. The smart values for doing a logic gate on the transition, does not seem to be working either.

 

Does any one have any ideas about how to accomplish this that does not include me begging my company for money for an add-on or upgrading to cloud.

 

THANKS!!!!!

2 answers

0 votes
Trudy Claspill
Community Champion
November 19, 2025

Hello @Jason Huntowski 

It is not currently possible to natively detect in an Automation Rule which specific transition was executed.

And natively the DC workflow post functions support setting only a subset of the built-in fields.

Another option you could consider, similar to the one suggested by @arielei , is to hide the transition from users within the workflow. Instead provide the users with the ability to manually trigger automation rules to execute the transition for them.

Manually triggered automation rules cannot (in DC) prompt the user for input, so if these transitions include Transition Screens you would instead need to have the users provide that input before triggering the rule(s), and then have the rule validate that the fields were filled out in the issue.

0 votes
arielei
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.
November 19, 2025

Hey @Jason Huntowski 

Is it possible to do it the other way around? meaning:
1. add a condition in the workflow that those custom fields need to be set in order to transition - note - do if any of them match and not all must match.

2. create an automation that listens upon value change and based on the value that was set - automatically transition the work-item via the correct transition.

 

 

Keep in mind that DC is EOL, and in cloud those methods are not supported, meaning, there is only transition to status - not use specific transition.

 

Hope that helps.

Ariel.

Suggest an answer

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

Atlassian Community Events