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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

514 views 1 18
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