You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is there a way to show the % Progress on a Kanban board card? We have the Portfolio configuration in place where an issue has child issues, progress is calculated as follows:
Progress = Number of resolved child issues / Total number of child issues
I don't believe there is a way to do this out of the box, but it quite easy to achieve using scriptrunner.
You can simply add a scripted field and associate it with your board card. The script would be something like :
SubTaskManager subTaskManager = ComponentAccessor.getSubTaskManager();
Collection subTasks = issue.getSubTaskObjects();
def customFieldManager = ComponentAccessor.getCustomFieldManager();
def customField = customFieldManager.getCustomFieldObjectByName("<Custom Field Name>");
def sum = 0;
def total = 0;
for (currIssue in subTasks)
if (currIssue.getStatusObject().getName() == "<Closed or resolved status>")
I did not test the code, but I started from a script I found here : https://community.atlassian.com/t5/Jira-questions/Scriptrunner-Scripted-field-to-sum-fields-of-child-tasks/qaq-p/879628
Let me know if you need further help!