Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update Original Estimate using Automatic rules

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

Easy)

124.jpg

Now it works perfectly)

0 votes
Alex Koxaras Community Leader Jan 12, 2022

Hi @Анастасия Кировская 

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.

Hi @Alex Koxaras 

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

80 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you