Forums

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

Dynamic Fields with Nextgen Projects

William McMahon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 14, 2022

Hi there, 

I'm looking to create a dynamic field that automatically updates/calculates based on other field values.

I know this is possible with the Jira Misc. Workflow Extensions (Event-based actions), however I believe this only applies to classic projects.  

Since I'm on the free version of Jira I only have access to Nextgen projects which handles field values differently.  

I'm looking to do some simple calculations such as:  FieldA + FieldB + FieldC / 300 to calculate an average.  

1 answer

0 votes
Fabian Lim
Community Champion
May 15, 2022

Hi @William McMahon

Welcome to the community!

You can use jira automation with smart values

Here is an example: https://youtu.be/S2ary5YG-7w

Instead of calculating dates you can just perform the different calculations with the customfields.

Regards

William McMahon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2022

Thanks, I'm having some issues with the syntax.

Say I have four fields named: 

Number 1

Number 2

Number 3

Number 4

 

What is the syntax required to make the field Number 5 do the following calculation:

(Number 1 + Number 2 + Number 3 + Number 4) / 400

 

In event based actions it was this:

{{ (issue.fields["Number 1"] + issue.fields["Number2"] + issue.fields["Number3"] + issue.fields["Number4"]) / 400 }}

But this doesn't seem to work for me. 

Suggest an answer

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

Atlassian Community Events