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

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

Suggestion: Action to stop execution and exit

In some scenarios, if a certain condition is met, I dont need to continue running the automation script

 

To circumvent this, I have to add that condition to all the script but will be much easier to have an Action called "Stop Script Execution" that simply exits and doesn't continue

1 answer

Hello @Korayem ,

Automation for JIRA Support team member here!

I'll be discussing this with our development team and as soon as I got any updates, I'll let you know here!

Cheers,

Victor

Hey @Korayem ,

After discussing this with our dev team, we found that this would probably be tricky to implement.

Can you please give me an example of where the action could be better to have than a condition?

Thanks in advance!

Cheers,

Victor

@Victor Seger 

I have the same need. I can explain what my scenario is:

In the automation, I want to add a new sub-task to a Story when something else is triggered. However, I don't want it to be added if it already exists. so:

  • I loop through all the sub-tasks of a hardcoded Story
    • If the summary == {{issue.summary}}
      • I want to exit the execution
  • Not has been found from the previous loop, so I will add a sub-task

in the current JIRA design, I cannot prevent duplicated sub-task from creating. 

Suggest an answer

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

97 views 1 6
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