Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Groovy script to update a custom field

Pavan Reddy February 4, 2019

add 3 custom fields field name A,B& SUM,User should be allowed to enter numbers in field A&B.When the user brings focus on the field "sum", addition of the two number A+B should display. thanks pavan.

1 answer

0 votes
Rambabu Patina _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2019

Hi @Pavan Reddy,

You can get it done by the Automation for Jira add-on, have a look at math-functions.

or use Script runner add-on for reference see the similar question.

Hope this helps you.

Thanks,
Ram.

Pavan Reddy February 5, 2019

 i need complete solution because it has to done in cloud 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2019

Both Automation and ScriptRunner work in Cloud.

They do not quite do "scripted fields", but they will allow you to create post-functions and automations that can add up two fields and populate the third (note - not on screen as the user enters them, but after they commit a change, Cloud doesn't support that)

Suggest an answer

Log in or Sign up to answer