Forums

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

How can I edit the original estimation field using an automation?

Victor Tobon March 14, 2024

Good morning, I'm trying to edit the original estimation field using an automation when edit a text field called planned estimation, but in this one only put in number example 400 this value must be taken in hours for the original estimation field

 

estimación orignal.PNG

 

But I get the following error

 

error.PNG

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.
March 16, 2024

Hi @Victor Tobon -- Welcome to the Atlassian Community!

What is the custom field you are copying the value from, and what is the current value of that field?

For example, is it a number field, or is it something else?

Kind regards,
Bill

Victor Tobon March 19, 2024

Hello @Bill Sheboy I thank you for the welcome 

 

The custom field is a text field that users fill out with the value 400h and this must be copied to the native Jira original estimate field, but the attempt to make the copy to the field sends me the error shown above in the image

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.
March 19, 2024

If the text field contains exactly this:

400h

Then the error may be caused because your edit appears to add a unit of measure of minutes with "m" after the value.  Perhaps try removing that from the edit.

Also please note: smart values are name, spacing, and case-sensitive.  The smart value for issue should be in lower case.

Victor Tobon March 21, 2024

 hello @Bill Sheboy remove letter m and it marks correct but nothing is modified on the issue

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.
March 22, 2024

Would you please post images of the audit log, showing the rule execution and an image of the Jira issue which the rule has appeared to update? 

Please include the issue history and the time tracking field in the images as those will show what the rule attempted to change.

0 votes
YY Brother
Community Champion
March 15, 2024

Hi @Victor Tobon 

 

I think you may try something like this and hope it helps:

{{#=}}{{issue.customfield_xxx}} / 60{{/}}

Please see it for more: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/

Thanks,

YY哥

Victor Tobon March 21, 2024

Hello @YY Brother I apologize for the delay in responding and it is treated in the way you mentioned, but nevertheless the result is negative, the automator tells me that it has been executed correctly but no change is reflected in the story or task.

YY Brother
Community Champion
March 21, 2024

Hi @Victor Tobon 

Please show us your entire screenshot. And you could use a specific number (e.g. 4) to test if other parts are correct. If it's correct, then we will focus on the smart values.

Thanks,

YY哥

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events