Forums

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

Jira Structure Formula Assistance Please

Kiki M
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!
October 19, 2023

I'm trying to get conditional formatting working between two numbers so that I can verify if my original estimates reflect back to what should be a Small, Medium, Large story.

For example: If OriginalEstimate is less than 25, return the value, "Small"

ELSE IF OriginalEstimate is greater than 26 and less than 50, return the value, "Medium."

ELSE IF OriginalEstimate is greater than 51 and less than 100, return the value, "Large."

ELSE if greater than 100, return the value, "XL"

 

 

I can get the first formula working, but I can't get the latter half working. I've tried 

IF OriginalEstimate < 25():
":panel[Small]{color=red}"
ELSE IF (OriginalEstimate >= 26 && OriginalEstimate <= 50)
":panel[Medium]{color=red}"

 

and I've tried 

IF OriginalEstimate < 25:
":panel[Small]{color=red}"
ELSE IF OriginalEstimate =>26 and <=50:
":panel[Medium]{color=green}"

 

Please help!

 

1 answer

0 votes
Stepan Kholodov _Tempo_
Community Champion
October 20, 2023

Hello @Kiki M 

You need to convert the Original Estimate value from a timestamp(which is how it is returned by default) to either days or hours for the formula to work.

if jira_hours(originalestimate) < 24:
":panel[Small]{color=red}" else
if jira_hours(originalestimate) >= 25 and jira_hours(originalestimate) <=50:
":panel[Medium]{color=green}"

I hope this helps. If you need further assistance - please reach out to us directly at our support portal.

Best regards,
Stepan Kholodov
Tempo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events