Update Original Estimate using Automatic rules

Anastasia Kirovskaya January 12, 2022

Hi,

We have a number type custom field (10701) that represents days and would like the original estimate field to be updated when this custom field is edited.

I've tried using the 'Set value' operations, but I can't get they to work.

Please can anyone tell me if there is something wrong with the way I have structured the following scripts:

{{triggerissue.CustomField_10701}}

or

{{triggerissue.CustomField_10701}}d

or

{{issue.CustomField_10701}}d

or

{{issue.CustomField_10701}}

or

{ "fields": { "timetracking": { "originalEstimate": " {{triggerissue.CustomField_10701}}d"} } }

122.jpgFails: 

Action details:

Edit issue

Error editing issues
TEST-35 (Original Estimate is incorrect. (timetracking_originalestimate))
123.jpg

 

 

2 answers

1 accepted

1 vote
Answer accepted
Anastasia Kirovskaya January 12, 2022

Easy)

124.jpg

Now it works perfectly)

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2022

Hi @Anastasia Kirovskaya 

What kind of field is this? Is this a text? If yes then you have to convert it to a number and then use the smart value formula. I would use something like the following:

{{issue.fields.CustomField_10701.asNumber}}d

Try the above and let me know if that works.

Anastasia Kirovskaya January 12, 2022

Hi @Alex Koxaras _Relational_ 

Is this a Number Field

 

The checkbox "Allow rule trigger" helped me

 

Thanks)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.4
TAGS
AUG Leaders

Atlassian Community Events