How to start create an issue after a specified issue is moved to done?

Lex Baldridge June 24, 2024

I am currently having a problem where after 1 issue is transitioned to done using an automation rule the next issue will not create. 

The automation rule used to move the issue to done is shown below:

Capture 4.PNG

I need to have this rule in place or at least one similar to cause a chain effect.

 

The Rule I am having issues with is the rule following the epic creation and the first issue creation. I have included the audit log and the actual steps of the rule. 

Capture 6.PNGCapture5.PNG

I am having issues with the issue field condition; I have tried both summary and issue type and get the same error each time.

2 answers

1 accepted

0 votes
Answer accepted
Tommaso Gionfriddo _Teklada_
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.
June 24, 2024

Hi @Lex Baldridge ,

Unfortunately it's difficult to diagnose the issue without further information. When you say you have tried issue type in the condition, what do you mean by that?

Does the automation work as expected if you remove that condition and test it?

Could you also please confirm the exact value of the issue ECI2024-143's summary?

Lex Baldridge June 24, 2024

As in issue type I change the condition box to issue type instead of summary and change it to the issue type that is moving.

The automation does work without the condition however I need the condition because there is multiple Issues that have the same transition. Such as Me gate 1 moves from Scott, In progress, or Uncle Jesse to done. And ME Gate 2 also follows the same movement from Scott, In progress, or Uncle Jesse to done.

The summary would change per epic being the part number. So the summary for a certain issue would be the issue name and then a custom field for the part number.

Tommaso Gionfriddo _Teklada_
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.
June 24, 2024

It's strange that the condition failed when it was based on issue type, assuming it was set correctly.

Could you please provide a screenshot of the configuration of the Summary starts with condition?

Lex Baldridge June 24, 2024

Here is what it looks like with the issue type:

Capture7.PNG

And this is what it looks like with the summary:

Capture8.PNG

Lex Baldridge June 24, 2024

In addition, if I manual click from in progress to done it will trigger and follow the rule. It is just when it is automated to move to done is when the rule fails.

Tommaso Gionfriddo _Teklada_
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.
June 25, 2024

Oh, my apologies then, I misunderstood what problem you were facing.

By default, automations will not be triggered by actions from other automations. 

Please enable the checkbox labelled "Check to allow other rule actions to trigger this rule." Which can be found when viewing the automation rule details. 

This should solve your problem

Like Lex Baldridge likes this
0 votes
Jim Knepley - ReleaseTEAM
Atlassian Partner
June 24, 2024

Is it possible that you have multiple statuses with the name "Done" ?

For example, in team-managed projects, I'm pretty sure that every status is specific to that project, so if you have 3 team-managed projects, you could have 3 "Done" statuses.

Lex Baldridge June 24, 2024

There is only one status that equals done, in total there is:

  • In Progress
  • Scotty
  • Phil
  • Andys review
  • Uncle Jesse
  • Dr.Thunderbeef
  • Done

All of them flow into the same done section

 

Tommaso Gionfriddo _Teklada_
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.
June 24, 2024

@Jim Knepley - ReleaseTEAM, I believe the problem is not related to the status as the automation is being triggered upon status change. There would not be any entry in the log if the issue was being transitioned to the wrong status

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