Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,687
Community Members
 
Community Events
176
Community Groups

How can I auto update a custom field value to the sum of 2 other custom field values?

I have a custom field called Story Points, and I also have other custom fields called Dev Points and QA Points. After there are values set on Dev Points and QA Points, I want to automate the summing up of the 2 values and update the Story Points field value. 

I have been looking up old similar questions, but I can't get it to work. I'm not familiar with JSON, I'm in a non-tech role, but I have been trying different variations that were posted b others regardless 

Depending on the variation I have tried, I have received different errors. The current variation I have tried is {
"fields": {
customfield_10005: {{#=}} {{customfield_11893}} + {{customfield_11894}} {{/}}
}

10005 is SP, 11893 is DP and 11894 is QAP. 

Any help here would be greatly appreciated, thanks!

 

1.png

2.png

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill Community Leader Jan 25, 2023

Hello @Sean_Ohannrachain 

Welcome to the Atlassian community!

You should not need to use JSON for this.

You should be able to select your Story Points field as the one you want to Set.

Screen Shot 2023-01-25 at 9.42.09 AM.png

Then enter your formula in the field for setting the value thus:

Screen Shot 2023-01-25 at 9.43.36 AM.png

This should work if all the fields are defined as Number type fields.

Thanks a mil Trudy, that worked perfectly. I didn't even realise that I could type in there, complete mistake by me! 

Thanks for the welcome to the community, it's a great help for me!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events