Automation rulle only works for first 2 triggers

Ajda Gruden August 11, 2022

Hello!

I'm setting up automation rules to create subtasks and transition them in correct statuses based on the issue type of the parent.

The problem is, that upon creation only the first two sub-tasks are created, instead on 9. Am I doing something wrong?

The issues also get a label upon creaton, my next step was to create a rule that if the issue has a certain label when created, it gets transitioned in the respective status (is there a better was? Because the different subtasks go on different boards in the same project).

Thank you in advance!

PS: The audit log says it was a success...

 

1 answer

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2022

Hi @Ajda Gruden 

What problem would you like to solve with your rule? Could you describe this in more details maybe with a use case and/or example? Please also share a screenshot of your automation rule. This helps the community to get a better understanding of the current situation and further analyze the problem.

Best
Stefan

Ajda Gruden August 11, 2022

Hi Stefan,
Thank you for replying!

The idea is to automate a process: regularly new expansions (of our business topic) are released and our marketing department always has to do the same tasks as it happens. There can be 4 different scenarios, based on how big the expansion is, so they already created 4 different issue types.

Different "sub-departments" of the marketing department then need to fulfill their tasks and they all have their own boards in the same Jira project.

I hope it is readable: 2022-08-11 12_44_37-Automation - Jira.png

So what I did so far is that for expansion case 1 (out of 4 different cases) 9 subtasks are created. The issue is, that upon creation there are only 2 subtasks in the ticket.

And my planned next step was to also send those subtasks to their corresponsibe statuses (I wanted to help myself with lables, though I'm sure there is a better way?).

 

Again, thank you so much. I've been using Jira for a few years now, but don't have much experience in automations yet.

Best,
Ajda

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2022

Hi @Ajda Gruden 

Is there some field-edit-action within the creation of the subtasks? As the screenshot shows there might be some initial setting when you create the subtasks. Could you please also show the content of the actions as well as the audit log?

I tested the behaviour within my site and it worked fine. I also immediatly transitioned the status of each subtask with a "most recently created issue" branch after each subtask creation (see screenshot):

image.png

 

Best
Stefan

Ajda Gruden August 11, 2022

Hi @Stefan Salzl!

So the rule goes:

- when issue is created (I changed nothing there),

- issue type equals - here I set it as follows:

Issue field condition.png

- then create a new sub-task, with the following settings:

Create issue.png

I also selected label, because 2 of these 9 sub tasks should go on the SEO board, 1 to social media etc:

Create issue 2.png

I created the same trigger ("Then create a new subtask"), but with different lables, 9 times.

Thank you for the tipp on creating the status transition within the rule! These are on stack so if I create the one for SEO first and this one has the "most recently created issue should be moved to SEO TO DO", and I then create one for social media, I could use the same branch logic, to move that subtask then to SOCIAL MEDIA TO DO?

Best,
Ajda

Ajda Gruden August 11, 2022

 

And the audit log:

audit log(1).png

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2022

@Ajda Gruden 

Please open the details of the audit log by clicking "show more"

Best
Stefan

Like Ajda Gruden likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2022

@Ajda Gruden 

Furthermore reagarding the status/boards:

Boards are only views based on a filter. So (assuming SEO To Do and SOCIAL MEDIA To Do are several status) you would not need the labels. You could just move the special subtask immediatly to the required status and (assuming boards are based on status) shown in the right board.

Best
Stefan

Like Ajda Gruden likes this
Ajda Gruden August 11, 2022

@Stefan Salzl 

Omg, the issue is gone! 

"Success":

audit1.png

Actually this audit log was very useful, because seing the issue links I clicked one and they vere actually created. Opening the ticket again and all the sub-tasks are there! So it must have been just a sync issue...

Thank you so much for your help and so sorry for wasting your time. Had I been more patient and checked periodically, I would have found out eventually...

Now all I have to do is figure out the status transition branches and I'm done :D 

Thank you again and all the best,
Ajda

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 11, 2022

it´s the jira maaaaagic ✨✨✨

😂😂😂

 

No need to apologize. It´s my pleasure to support and I´m pretty happy you got that working.

Great job.

Best
Stefan

Like Ajda Gruden likes this

Suggest an answer

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

Atlassian Community Events