Forums

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

How do I set up an automation rule for field Original Estimate

Caitlin.Pedersen
Contributor
April 12, 2024

We are using Jira time tracking and would like to use Foxly to to help us prioritize our tasks.

So I'm trying to set up an automation rule that links the field Original estimate to the metric Effort in Foxly. So, e.g. when Original Estimate is < 2h Effort = Very easy.

However, when I try to set up an "If issue field condition" statement I am not able to choose the field Original Estimate or Time tracking.

So, I've tried to set up an "If: Compare two values" statement, but it seems like I'm not writing the right expression.

Automation Jira.JPG

What is the correct expression or is there another way to set up this automation rule that would work?

Thank you!

1 answer

1 accepted

2 votes
Answer accepted
Tansu Akdeniz
Community Champion
April 12, 2024

Hi @Caitlin.Pedersen 

Welcome to the community.

You can use {{issue.timetracking.originalEstimateSeconds}}

Compare if it is less than 7200.

Caitlin.Pedersen
Contributor
April 12, 2024

Thank you so much that worked! 

Caitlin.Pedersen
Contributor
April 12, 2024

Hi @Tansu Akdeniz

What if I want to set up the rule that if Original Estimate is between 4 - 6.5 hours then Effort = Medium.

I have tried to use an ELSE IF statement and made the following, but it doesn't seem to work.

Jira Effort automation.JPG

Do you have any suggestions on how I can solve this issue?

Thank you!

Allison Letts
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!
July 6, 2024

I'm sure this is way too late, but you can string IF blocks next to each other and they'll turn into AND conditions. If each bullet point is a separate block, you'll end up with this:

  • IF {{issue.timetracking.originalEstimateSeconds}} >= 14400
  • IF {{issue.timetracking.originalEstimateSeconds}} <= 23400
  • THEN Edit issue

It should look right in the UI automatically.

Caitlin.Pedersen
Contributor
July 8, 2024

Thanks a lot @Allison Letts because I actually never managed to get this to work, so I'll definitely be trying this.

Suggest an answer

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

Atlassian Community Events