The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Can i run script on a particular field on cloud?

Ashokkumar Santhanam
February 7, 2022

Hello Experts,

Is it possible to run script on a existing field or can we create a scripted custom field to do specific calculations?

Thank you

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Vishwas
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 Champions.
February 7, 2022

Hey @Ashokkumar Santhanam 

Well that depends on the type of calculation you have to do. And what exactly are you trying to get from the script.

For the simple calculations one can use automation for Jira to create rules ( Ex: Sum or Difference up custom field, sum of work logged, sum up of story points, days calculation, etc)

We can create a scripted custom field if we have plugins like JMCF, Scriptrunner in Server/DC version. But in jira cloud with script runner listeners one can achieve scripted fields I guess.

Hope this helps !! In case if you have questions let me know

Regards,

Vishwas

Ashokkumar Santhanam
February 7, 2022

Hello @Vishwas 

My question is specific to cloud only and we need to do simple calculations like sum of

values inside a field.

Example : Custom field name - Cost savings and inside this cost savings field we will have

               inputs from multiple projects : project A - 100

                                                                 project B - 100

                                                                 project  C - 100

                                                             Total savings - 300

we need to do this inside a custom field. Any suggestions or ideas of how can we do this?

Thank you

Vishwas
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 Champions.
February 7, 2022

Hey @Ashokkumar Santhanam 

Sum must be done at issue level.

We can sum custom field for issues in automation for Jira. Using Smart values we can achieve, please have a look at this thread here https://community.atlassian.com/t5/Automation-questions/Using-Smart-values-to-sum-two-Number-fields/qaq-p/1687799

Regards,

Vishwas

TAGS
AUG Leaders

Atlassian Community Events