can we use javascript in "Calculated Number Field" custom field"?

Can we use javascript in "Calculated Number Field" Custom Field desciption.

Below is the plugin which provide this field:

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

I just need to do some add/multiplication operation in javascript using this custom field's desciption.

As i know, it provides below formula script but unable to use javascript:

https://innovalog.atlassian.net/wiki/display/JMCF/Home#Home-calculatednumberfield

Thanks

4 answers

Can you rephrase your question? I'm not sure I understand what you're trying to do.

Can you rephrase your question? I'm not sure I understand what you're trying to do.

Updated with related details. basically, i need to use javascript in this cusotm field because, i need to do such maths operation on this field "#customfield_11426\\:input1", "#customfield_11426\\:input3" and issue.get(...) will fetch whole custom field value and unable to fetch particular field(input1/input3). within custom field('#customfield_11426').

You can use almost any Java construct, which is more powerful than JavaScript. You can also use Java libraries which are loaded into the plugin context, such as Commons Lang.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

581 views 6 12
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