Forums

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

Need to sum two fields into another field

kedar
Contributor
September 13, 2023

Im having QA points and Dev points numerical fields and want to sum the those fields value into Dev and QA points sum field at the time of issue creation

How we can do it using Automation or script runner any advise.

 

Thanks,

Kedar P

2 answers

1 vote
Sanjog Sigdel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Hello @kedar 

You can do so by trigging the automation either by scheduling it or during an aciton, say when the story transitions from Backlog to ToDo.

In the eidt field section your sum operation should be like this:-

Operation: {{#=}}{{customfield_10010}} + {{customfield_10011}}{{/}}

Here customfield_10010, and customfield_10011 are your QA points and Dev points. Find the custom filed id of these fields and correct it.

 

In the automation below, In When:Scheduled, make sure to add a JQL which lists the tickets of a certain project and sprint as per your necessity.  Or simply trigger the automation when an issue's is transitioned from one state to another, or When a ticket is created.

Screenshot from 2023-09-13 14-50-48.png

0 votes
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events