Forums

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

Sum up the values from Jira Custom Fields to the Original Estimate field

Alexandr Belov August 12, 2021

Hello 

Can you please help me to understand why the automation I created does not work? 

I need the values from "QA Estimate" and "Dev Estimate" custom fields sup up every time I change the values in the fields and go to the "Original Estimate" standard field. 

 

This is what I did: 

1. Created the Trigger
1.png

 

2. Selected both fields "Original Estimate" as I don't know which one I need (at the end I will leave only one when I understand which field I need) 

2.png

3. Added the following rule into both fields {{#=}}{{issue.QA Estimate}}+{{issue.Dev Estimate)}}{{/}}

3.png

4. Then Published all my changes and Enabled the rule

 

5. Every time I change the values in the "QA Estimate" or "Dev Estimate" fields I get this error: 

5.png

 

2 answers

0 votes
John Funk
Community Champion
August 12, 2021

Hi Alexandr,

Two things to check for, make sure that the Context for both fields are available for the project RRY. 

Second, made sure the fields are on the Edit screen used by that project and issue type. 

Also make sure that Time Tracking is turned on for that project. 

Alexandr Belov August 12, 2021

Hi John, 

Both fields are added to the Context

7.png

 

Both fields are in the Edit screen 

8.png

And the Time Tracking is turned on for that project

 

What field type the "Dev Estimate" and "QA Estimate" fields should be in order to be able to transfer their values to the "Original Estimate" system standard field? 

Now they are text type. 

John Funk
Community Champion
August 12, 2021

Ah, that's probably part of the problem - they need to be Number fields. 

Also, your first image above is the screen layout, that's not the Context. For that go to Settings > Issues > Custom Fields. 

Search for the field, then click the 3 dots menu on the right and select Context and Default value. 

Alexandr Belov August 13, 2021

Hi John, 

Changed the type of the field to Number and selected the Context and the Default. 
But still I am getting the same error: 

 

9.png

 

Can you have a look ad this expression: {{#=}}{{issue.QA Estimate}}+{{issue.Dev Estimate)}}{{/}}
Is it correct? 

 

Can you jump on the call or can you try to log into my instance and check my automation? 

John Funk
Community Champion
August 13, 2021

I do not see the Original Estimate field in your configure screen image above. It needs to be on the screen in order to be able to edit it. 

0 votes
Fabian Lim
Community Champion
August 12, 2021

Hi @Alexandr Belov

- Can you share the values that you have in the dev estimate and qa estimates? 

- you may have to use the text field one instead of the original estimate aince the system one actually tracks time and it shows up when you add the time tracking customfields.

Cheers

Alexandr Belov August 12, 2021

- The values in the Dev Estimate and QA Estimate are just numbers: 5, 6 or 10 which equals (I hope) hours 

- the whole point is, to sum up the values in the Original Estimate field as it is connected to displayed hours in the backlog view: 6.png

Like Rebeca Moreira Lopes likes this

Suggest an answer

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

Atlassian Community Events