Forums

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

When sub-task is merged transition its status to DONE

Hala Haneya
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 8, 2025

I have this rule that keeps failing. It is not detecting the work-time type to be subtask as expected

RULE:

image.png

ERROR:

 

Screenshot 2025-09-08 at 5.03.11 PM.png

2 answers

1 accepted

1 vote
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 8, 2025

Hi @Hala Haneya -- Welcome to the Atlassian Community!

Your rule is trying to use a JQL branch, but the JQL expression is invalid.

 

To use the Pull Request Merged trigger for your scenario, please see this template rule in the rule list:

When a pull request is merged → then move work item to done

And if you only want that to apply to Subtasks, you could add another condition after the trigger.

 

Kind regards,
Bill

Hala Haneya
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 8, 2025

Hi @Bill Sheboy 

 

Would this work?

image.png

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 8, 2025

Yes, that should work for the scenario you described.

Have you tested with it yet?

Like # people like this
Hala Haneya
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 9, 2025

Yes, it works now. Thank you for your support!

0 votes
Gor Greyan
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 8, 2025

Hi @Hala Haneya

Welcome to the Community!

Try not to put a branching rule; apply a condition that will check if the triggered issue is an exact sub-task or it is belongs to sub-task type.

Use the second logic to put the automation exactly for the issue type "sub-task" and use the first one, if you want to put it for all types of issues that are sub-tasks1.2.png1.1.png.

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