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,293,834
Community Members
 
Community Events
165
Community Groups

Create a Case/Switch using Automation

Dirk Ronsmans Community Leader Jul 05, 2021

I'm exploring the options with Automation and while we do have the IF/Else block I don't think that we have something like a Case/Switch.

My use case would be a way to have a single field tested against several values but only execute the block of actions of the value found and not test anything else anymore.

In script this would mean you add a break in your case but nothing like that exists in Automation.

Anybody got some suggestions on how to mimic the behavior of a case where we can exit the actions block when the value is matched?

1 answer

1 accepted

0 votes
Answer accepted
Daniel Eads Atlassian Team Dec 06, 2021

Hey @Dirk Ronsmans , just following up on this oldie-but-goodie:

There's an open feature suggestion for case blocks at JRACLOUD-74958 . Take a look and add your vote if this sounds like it would work for your use-case.

Cheers,
Daniel

Dirk Ronsmans Community Leader Dec 06, 2021

Hey @Daniel Eads ,

Thanks for the feedback! Definitely looks like what I had in mind back then :)

Appreciate the followup!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

336 views 0 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