Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
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

How to implement an IF Then condition for 2 different transitions out of a Status?

I asked this question before, but have not gotten a usable answer.  In the Issue Creation Screen is a Custom Field named Purchase Method with 3 choices. 

  1. None
  2. Cash
  3. Credit

I have 2 transitions after the PM Approved Status.  Transition 1: Assign to Cash and Transition 2: Assign to Logistics.  IF the Purchase Method selected is Cash, I want to execute the Transition Assign to Cash.  If the Purchase Method selected is Credit, I want to execute the Transition Assign to Logistics.

We have JSU installed.  How do I accomplish this?

1 answer

You can do this by setting a condition on the transitions, JSU allows you do to a compare to see if your field contains a specific value, so only if the condition is true the transition is available. I used a JSU condition to determine if an issue could be closed or if it had to go through validation first based on a custom field.

Would you please be more specific.  We tried this, but it doesn't work.  Below is the Condition.  Purchase Method is the Custom Field.  BRM is the choice in the Purchase Method drop down, which we want to be true to take this path...do I need to do something different?

Capture Condition.JPG

Mikael Sandberg Community Leader Feb 13, 2020

That should be it. I don't have JSU where I currently work, but the condition should work similar to the one on Jira Cloud, here is an example I just created:

Condition.png

In this case the component has to be either Bitbucket or Jira for the transition to be available. Look at the condition setting, is it set to Any of the following conditions or All of the following conditions.

Thank you for answering.  I will try String values with quotes.  

Mikael, thanks for answering.  Below is my condition, and below that is my workflow.  In this configuration, the workflow stops at PM Approved when the condition pictured is implemented:

Condition of BRM.JPGBRM Gear Workflow.JPG

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

322 views 9 7
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