Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Metrics automation with custom fields

Edited
Victor Fairen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 28, 2023

Hi community,

 

We are trying to define automation metrics for projects in Jira Cloud and Confluence and I got stucked wih some fields. 

  • First problem:

We are trying to implement this automation to track the timing of projects. So we have created a custom field named "Time" with three colored fields (yellow, green, red) which will be automatically changed depending on the due date and the field work ratio. However, the work ratio cannot be used in the automation.

Any idea of how can we track the timing taking into account we need the due date and the progress of the issue?

 

 

due >= “14d”

due <= “-14d”

due <= “0”

Work ratio > 100%

yellow

yellow

yellow

Work ratio = 100%

green

green

green

Work ratio > 81% AND Work ratio < 99%

green

yellow

red 

Work ratio > 61% AND Work ratio < 80%

green

red 

red 

Work ratio > 41% AND Work ratio < 60%

green

red 

red 

Work ratio > 26% AND Work ratio < 40%

green

red 

red 

Work ratio > 1% AND Work ratio < 25%

green

red 

red 

Work ratio = 0%

green

red 

red 

 

  • Second problem:

We have two numbered custom fields (estimated CAPEX and actual CAPEX) which is manually updtaed by the Project Managers. As in the previous problem, we've created a new custom field named "Budget" with the three colored options which would be automatically changed by the difference of both fields. As well, this automaiton cannot be done by automation.

Budget is green if "CAPEX (real)" < "CAPEX"

Budget is yellow if"CAPEX (real)" = "CAPEX"

Budget is red if "CAPEX (real)" > "CAPEX"

 

Any idea of how can we track the difference of estimated and real CAPEX on this?

 

Many thanks in advance!

Anna

2 answers

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.
Sep 28, 2023

Hi @Victor Fairen 

First thing, for a question like this please post images of your complete automation rule and the audit log details showing the rule execution, describing what is not working as you expected.  Those will provide context for the community to offer suggestions.  Thanks!

Until we see those...

I checked, and both work ratio and the source fields to compute it are available for issues in Jira Cloud automation rules.  What have you tried that is not working?

For your second concern, if you have added custom fields they will be available to automation rules.  The challenge is often determining the correct smart values to use.

Smart values are name, spacing, and case-sensitive.  When an incorrect smart value is used, there often is no error and the value is substituted with null.  To identify the correct smart values for your fields, please try this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

0 votes
Victor Fairen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 28, 2023

This would be the matrix automation for the first problem: 

time.png

And this the second one:

budget.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events