Forums

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

Working of Jira calculated custom fields (JWT)

simarpreet singh
Contributor
June 6, 2020

Hi team,

 

Can someone please explain me the internal working of calculated fields. Will they still be action (in background) if they are created but not added in any project. 

Let say I created a calculated field C, where C= A+B. A, B are number fields in project P. Now I added C to the project but due to some performance issues I removed C from project. Will this C be still be in action (since A and B are still in project and given values)

1 answer

1 accepted

0 votes
Answer accepted
Ivan Lima
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.
June 6, 2020

Hi @simarpreet singh 


I've done a few tests and the calculated field will still be calculated as long as there are values in the Math/Numeric expression fields. 

Screen Shot 2020-06-06 at 5.06.18 PM.png

In this example, the CalculatedNumberFieldC has been added to Montreal but not Quebec which has only NumberFieldA and NumberFieldB. Also, for Ottawa, there is only the NumberFieldA.


If you remove the value, for example, from NumberFieldB in Montreal, CalculatedNumberFieldC is cleared out.
I've seen similar behaviour for other calculated fields from different addons/vendors.

Hope it helps.
IL.

Derek Fields _RightStar_
Community Champion
June 7, 2020

I believe that the calculation only occurs when the value of the field is requested. If the field doesn't appear on any screen, then there is no cost to having the calculated field in the system. When you request the value, for instance in the Issue Navigator, the calculation is done in real time as the data is presented. The only time that this should create a significant performance issue is if you export the data, since the export function will request the value of the field for every row that is being exported.

Like Ivan Lima likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events