Forums

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

Do I need to worry abou the "For the most created issue" branch? Picking the wrong Issue?

Calvin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2024

I've seen this answer a few times, but essentially I have a Task being created, then I want to add the Request Type to it as I can't seem to do it straight away. It tells me I can't add "Request Type" in the creation of the issue.

So right now I found a few answers that say to use a Branch of "for most created issue" then off that branch I update the request type appropriately.

https://community.atlassian.com/t5/Jira-Software-questions/How-can-I-set-the-quot-Request-type-quot-on-an-issue-created/qaq-p/2446539#M588132

What I'm worried about is will it always pick the correct task one that was created in that Automation just before it, or could there be a chance/race where by the automation A runs, a task is created, someone is making another issue in the background either via portal/backend/email, then when automation A gets to the branch the most recent issue is the wrong one?

 

Cheers

1 answer

1 accepted

3 votes
Answer accepted
Mikael Sandberg
Community Champion
February 13, 2024

Correct, in order to set the request type on the task that you are creating in an automation you have to use the branch "For: Most recently created issue" like this:

Screenshot 2024-02-13 at 2.37.14 PM.png

If your automation creates multiple tasks then you just repeat the branch rule after each task is created. The branch will only get the last issue that the rule created, it does not know about any other issues that was created by either other rules or users at the time of execution.

Calvin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2024

Legend, thanks Mikael, that puts me at ease as well. And great to know regarding how the rule/automation works.

Like Mikael Sandberg likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events