How to use Misc Custom Field Plugin

Hi All, 

I am trying to use Misc Custom field plugin, 

I am using the 'Calculated Number Field'. I would like to sum to list fields values (with the option 1,2,3)

and than to have a condition for the value I receive.

I have tried with a basic configuration - bet even that not working for me

<!-- @@Formula:
value = issue.get("customfield_11104" + issue.get("customfield_11108"
return value -->

Can you please advise what am I doing wrong?







3 answers

1 accepted

0 votes
Accepted answer

Hei Naama,

in your first attempt you ommitted several ) and semicolons at the end. Please try this:

<!-- @@Formula:

if (issue.get("customfield_11104")==null) return null;

if (issue.get("customfield_11108")==null) return null;

value = issue.get("customfield_11104") + issue.get("customfield_11108");

return value;


I did not use an or conjuction as you probably may want to test to different values (and not only null) as well.



Hello All, 

Even if I put a very simple sentence such as 

<!-- @@Formula:
return issue.get("customfield_11104").intValue(); -->

I do not get any value.


Can you please advise what am I doing Wrong?



Hi Maud, 

Thanks for your replay, 

I manage to figure it out in the end smile

Can you please let me know if for Text calculated field I can add an icon?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,714 views 17 21
Read article

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