would like automation on the most recent sub-task created

Mike Espitia July 26, 2024

Hello team,

I am trying to run an automation that will check the most recent sub-task and match the story status to it. Currently the automation i have is running on every sub-task the story has and this it running up my automation usage % per month.

1 answer

0 votes
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.
July 26, 2024

Hi @Mike Espitia 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

Triggered rules only count for "usage" when they perform certain actions, and so if you add conditions to your rule that will help manage usage.  To learn what counts toward "usage", please review this documentation: https://support.atlassian.com/cloud-automation/docs/how-is-my-usage-calculated/

Regarding performing the updates only with the most recently created subtask, you could use Lookup Issues with JQL to find the subtasks and ORDER BY Created DESC.  Then grab the first one for comparison before the rule proceeds.

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events