Forums

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

How to count the subtask with a specific status for a custom field ?

Aurélie Pilette
Contributor
December 22, 2023

Hello,

On the ticket parent, I would like to create a custom field named "Subtask open"

==> it is ok for that, I know how to ake that

I would like to initialize an automation rule in order to calculate how many subtask are on a specific status like "dev done" or "to test"

I already use this calculation : {{issue.subtasks.size}}

but i don't know how to update with a specific status.

Do you know if it is possible please ?

1 answer

0 votes
Sayed Bares [ServiceRocket]
Community Champion
December 22, 2023

@Aurélie Pilette I suggest using something like this:

{{issue.subtasks.status.name.match(".*(Done).*").size}}

 Replace Done with your status name.

I hope it helps

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, out of office, loom, confluence, async collaboration, meeting recaps, remote teamwork, team alignment, knowledge sharing, AI-powered notes, productivity tools, workforce continuity, teamwork collection

Put your meeting notes on autopilot with Loom + Confluence

AI-powered meeting notes keep work moving even if you’re out of the office. Enjoy your well-deserved time off and return refreshed, confident you’ll catch up in no time.

Learn more
AUG Leaders

Atlassian Community Events