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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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').

This widget could not be displayed.

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
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...

113 views 2 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