Calculated custom field is not working in jira 5.2.11.

Hi,

I have created custom field with formula by follow below link:

https://innovalog.atlassian.net/wiki/display/JMCF/Home

(i have used - "Number field" as typed ).

In number field, added below formula under "descritpion" field:

<!-- @@Formula:  (issue.get("customfield_11100") != null ? issue.get("customfield_11100") : 0) + (issue.get("customfield_11101") != null ? issue.get("customfield_11101") : 0) -->

here, above 11100 and 11101 both fields are drop down field contains numbers.

and want it's addition of those numbers. so, have added above formula to make addition if not null.

But that textbox appears empty only and also allowing to enter value.

What is missing, can any one plz suggest me ?

Thank You

1 answer

1 accepted

This widget could not be displayed.

found the solution as i have to install additional free plugin:

https://marketplace.atlassian.com/plugins/com.innovalog.jmcf.jira-misc-custom-fields

it allows to have additional custom field called as "Calculated Number Field"

so, have to use this field.

Now, it works correctly. (just needed to do parse to integer example (Integer.parseInt(issue.get("customfield_11100").getValue()))

just one thing, this field is added in create/edit screen and view screen.

It appears for view screen but not appear in create/edit screen,

Does it to due to readonly field ??

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

215 views 3 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you