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

Jira Structure Formula Assistance Please

Edited

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_
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.
Oct 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