Forums

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

How can an automation change history and epic status, when a task is moved to 'in progress'?

Fernando Jordi de Lima Bueno
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 12, 2023

Hello, I'm trying to set up an automation for my project, so that when I put a subtask 'in progress', its story and corresponding epic also have the status 'in progress'. my automation is like the image below, but it only changes the story, the epic is only changed when I change the story card on the board. Could anyone help me fix this automation?

Capturar.PNG

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
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.
September 12, 2023

Hi @Fernando Jordi de Lima Bueno -- Welcome to the Atlassian Community!

Remember that a subtask's parent is the story, and the story's parent is the epic.

When your rule uses the branch on Epic (parent) it is trying to reference the subtask, which is not correct.  Instead please try using a JQL branch to update the epic, perhaps with JQL like this:

issueType = Epic and key = {{triggerIssue.parent.Epic link}}

 

Kind regards,
Bill

Fernando Jordi de Lima Bueno
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 13, 2023

Hey, I implemented it the way you advised and it worked fine here. Thank you very much Bill, you helped me a lot!

Kind Regards, 
Fernando

Like Bill Sheboy likes this
Bill Sheboy
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.
September 13, 2023

Awesome; I am glad to learn that helped!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events