I have this rule that keeps failing. It is not detecting the work-time type to be subtask as expectedRULE:
ERROR:
Hi @Hala Alkassem -- 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
Hi @Bill Sheboy
Would this work?
Hi @Hala AlkassemWelcome 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-tasks.
Yes, that should work for the scenario you described.
Have you tested with it yet?
Yes, it works now. Thank you for your support!
It looks like you're new here. Sign in or register to get started.