I've created an automation to count the number of tasks in an Epic every time a task is added to or removed from the Epic, as configured below.
However, this automation rule is not functioning correctly with the audit log, as detailed below.
I hope to receive assistance from the community!
Welcome to the community.
Your edit action should be a lookup acton.
In the action state the following: Parent = {{issue.key}}
Then the edit action on the field and the value is the value: {{lookupIssues}}
Also see article: https://community.atlassian.com/t5/Jira-questions/Smart-Value-to-display-the-sum-of-child-issues-linked-to-an-epic/qaq-p/2311631
Hi @Marc - Devoteam , I have configured it as you advised (image 1), but I received the following error (images 2).
Additionally, regarding the field "Number of tasks in epic," it is a number type and exists in the Epic ticket (see image 3).
image 1
image 2
image 3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for my mistake.
In the edit action the smart value needs to be set as {{lookupIssues.size}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nguyen Thanh Tien certainly, you can count the number of Tasks linked to corresponding epic.
Go to Issues or structure and use this jql query "Epic link" = ABC-123
Above query will fetch all user story, Tasks and Defects if linked, if you want to know only Tasks or Story then
"Epic link" = ABC-123 AND issues Type = Task
ABC-123 is Epic key. Let me know if you need further support.
All the Best!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.