Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help for a branched automation

Valérie GOMBERT May 7, 2025

We've created an offboarding form.

In this form, by checking a box, you can choose the applications from which the account should be deleted.

I'd like a new ticket to be created according to a certain request type depending on whether the box is checked or not and I'd like to configure some fields like the team assignee, application (custom field) and change of description and the summary depending of this application. For each application, the information is different.

If I do my automation as below, the new ticket is created but the changes are made to the ticket that triggers the automation.

 

Capture d'écran 2025-05-07 200704.png 

so I thought, I'll make branches, one for each application

Capture d'écran 2025-05-07 201415.pngCapture d'écran 2025-05-07 201517.png 

but that doesn't work either. it creates the ticket but applies the changes to the same ticket...

please help me 

2 answers

4 votes
John Funk
Community Champion
May 7, 2025

Hi Valérie - Welcome to the Atlassian Community!

Add a Branch under the the action where you are creating the work item and select Most Recently Created Work Item. Then move your Edit Work Item function under the branch. 

Valérie GOMBERT May 7, 2025

Thanks!

You mean I add a new branch and keep the first or delete the first and add another?

John Funk
Community Champion
May 7, 2025

I don't know what you are doing with those other two, but to update the issue you just created you add the new branch and move the action under it. 

What are you trying to do with the other two branches? 

Valérie GOMBERT May 8, 2025

I try to create another issue for each application. 

I'll try your option and update here. Thank you

Like John Funk likes this
Valérie GOMBERT May 9, 2025

ok I made the changes and it doesn't work well. 

Capture d'écran 2025-05-09 100753.png

 

the first "IF / Branch" work well but not the following "IF". The rule stop it execution.

Capture d'écran 2025-05-09 101029.png

John Funk
Community Champion
May 15, 2025

Sorry, I am not following as to what worked and what didn't work. Can you provide a step-by-step use case and note at each step if that worked or didn't? 

2 votes
Mikael Sandberg
Community Champion
May 7, 2025

Hi @Valérie GOMBERT,

Welcome to Atlassian Community!

The reason the changes are happing on the triggering work item is because the focus is on that, even when you use the "For current work item" branch. Instead you have to use the "For: Most recently created work item", that way the focus will be shifted to the work item you created in the automation and not the triggering work item. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events

OSZAR »