Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation - can transition trigger exclude self-transitions?

Hi

I'm trying to set up a rule to clear a field value on all transitions except those which go from a status back to itself. In the particular workflow there are several of these self-transitions and I want to exclude all of them from the rule. Is there any way that I can do this in one rule? 

The alternatives that I can see are to create a separate rule for each transition where I do want the rule to run, Or put in post functions on all of those transitions.

But it would be ideal if I could do it in one rule. Thanks

2 answers

2 accepted

2 votes
Answer accepted
Jack Community Leader Mar 01, 2021

You would need separate rules. There is not a multi-select feature in the transition trigger.

0 votes
Answer accepted

Hi @Julia Foden 

Do you mean preventing a rule from proceeding when an issue transitions to the same status, such as from "In Progress" to "In Progress"?

If so, you may add an advanced condition in your rule to detect that

  • If {{#changelog.status}}{{fromString}}{{/}}
  • does not equal
  • {{#changelog.status}}{{toString}}{{/}}
  • ...proceed with your rule logic to clear the field

 

Best regards,

Bill

Thank you @Bill Sheboy that is an elegant solution!

What I had done was created a rule for each status, triggered by transitions from that status to any other and then a condition that the status does not equal the starting status. But your suggestion is much better. Thanks!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

247 views 14 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you