Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation - Calculating % complete

We have JIRA Premium with Advanced Roadmap and we want a field that will display the % Complete for an epic or even a custom issue type called initiative (highest on the hierarchy)  Is there a way to display a custom field that will show the % complete using automation and smart values without requiring an add on.  

 

Thanks in Advance.

1 answer

Hi @Neil Rafol 

Depending upon how you define "% complete" you may be able to do this using automation for Jira rules and a custom field...or just email the results.

For example, let's say you ignored sizing/estimation and just counted issues.  You could count the total things in an epic and divide that into the number completed, showing percent of issues completed. 

If instead you wanted to account for sizing, you could sum the story points for the calculation.  For estimation with time tracking, this is a bit harder and should still be possible.

Best regards,

Bill

this is exactly what we are looking for:

 

For example, let's say you ignored sizing/estimation and just counted issues.  You could count the total things in an epic and divide that into the number completed, showing percent of issues completed. 

 

Normally we would use story points for calculating but this specific initiative doesn't factor in that.  

Thanks for that info.  Now you need to decide when you want this value updated, such as on a schedule (e.g. daily) or whenever a work item changes.  Here is an example if you wanted to trigger this manually:

  • Trigger: manual
  • Condition: issueType is epic
  • Action: lookup issues with JQL to get all issues with "Epic Link" = {{issue.key}} 
  • Action: create variable named varTotalCount, saving {{lookupIssues.size|0}}
  • Action: lookup issues with JQL to get done issues with "Epic Link" = {{issue.key}} AND statusCategory = "Done"
  • Action: create variable named varDoneCount, saving {{lookupIssues.size|0}}
  • Action: send your email with % completed, such as:

{{#=}}CEILING({{varDoneCount}}/({{varTotalCount}})*100){{/}}% Completed

 

To get you started implementing this, please take at this information about automation rules:

If you have issues with the rule, please post your rule and the community can help.

Like Neil Rafol likes this

Thank you for the response.  I will test the email notification but also I am looking to populate a custom field called % complete.  

You should be able to edit the custom field, setting the calculated value to it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

233 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you