Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,328
Community Members
 
Community Events
185
Community Groups

How to select a specific transition-ID as a trigger in automation for jira?

Hi,

How can I select a specific transition ID as a trigger in automation for jira?

I want to select an itself transition. The itself transition can be triggered from any status  without changing the workflow. 

Does anyone have any ideas?

5 answers

Hi Bill,

I have attached an pic as a example. The transition on the left side is the Itself function. It can be triggered from each status in the workflow without changing the status from A to B. 

 

image.png

A second reason for my request is,  when I have two transitions from Status A to Status B, with different post functions. So I cant select for which transition the rule should be run.

Best regards 

Florian

Bill Sheboy
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.
Aug 31, 2021

Hi @Florian Ohrnberger 

I believe automation rule's trigger on transition can only detect the status change, not other criteria you may have specified in your workflow functions.  I am using Cloud not Server version, so you will need to confirm that for Server.

As a work-around you could add conditions after your trigger in the rule, enforcing any other criteria in your workflow you needed to select a particular path.

Hi as a workaround I added a post function to my transition to itself, where I put a value in one custom field in the issue, this way I can use the "Field value changed" trigger in the automation and execute the actions needed for that specific transition.

 

Also if you want to be able to execute the transition to itself multiple times you can add an action to the automation to clear the field that was filled with a value by the post function, this way you can have a condition to your automation to check if the field contains a value and if it does you can execute the actions in your rule.

 

Let me know if this helps!

Best regards,

If your status eg. Open has 2 outgoing transitions eg.

 

Open > Closed (with a screen, validators & post functions)

Open > Closed (Group condition: Automation only - triggered by a different automation)

 

Within automation using the "Trigger" option currently, you cannot specify the transition you want to trigger the automation on.

 

The automation would trigger both/either transition currently.

 

Note: when using the "Action" function, you can specify the transition. 

0 votes
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 28, 2022 • edited

ASAP

0 votes
Bill Sheboy
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.
Aug 30, 2021 • edited

Hi @Florian Ohrnberger -- Welcome to the Atlassian Community!

What do you mean by "an itself transition"?  Do you mean back to the same status on an edit?

For the issue transition trigger with Automation for Jira (A4J), you may specify one or more status values from/to, or leave the values blank to trigger on all transitions.  Please look here for more information on that trigger: https://confluence.atlassian.com/automation/triggers-993924804.html#Triggers-issuetransitionedIssuetransitioned

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer