Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation rules - Calculate Story point based on custom fields in issue

Hi Guys, 

I am trying to perform an automatic calculation using automation. I created several fields (NUMERIC) that are custom in the system and added them to the Issue itself. for example Story Point A Story Point B I want to cause a situation where when one of these Story points changes it updates my main Story Point.

 

this is how my rule looks like,

Field value changedChange trigger This rule will trigger when the value of the fields selected below changes. Learn more.

 

Edit issueDelete component

try to use this edit for story point

{{issue.customfield_10081.value.join(" + ")}}

 

2 answers

Hi @Ben Sar 

To be able to sum two numeric values , you need to use this math expression

{{#=}}{{issue.Story Points}} + YourCustomFieldValue{{/}}

 

Please refer to this page for more information

 

Thanks in advance

Mohamed

Hi Mohamed,

thanks for the quick reply.

 

if I want to use only my custom fields and sum the Story points?

 

For example,

MyCustomFieldValue + MyCustomFieldValue + MyCustomFieldValue 

and update the story points ?

Hi Mohamed,

i found the solution with custom fields but now, it always update the story points and just added new value , I need it to be calculated with new values 

 

this what I am doing 

{{#=}}{{issue.Story Points}} + {{BE Story points}}{{/}} + {{FE Story points}}{{/}} + {{QA Story points}}{{/}}

Or

{{BE Story points}}{{/}} + {{FE Story points}}{{/}} + {{QA Story points}}{{/}}

 

and when I change the values it is just updated by adding the new value.

for example, started with 1 then change value to 10 so added 11 instead of update to 10 

 

can you help here?

Ben Sar I'm New Here May 31, 2021

@Mohamed Adel can you help  with ?

0 votes
Daniel Ebers Community Leader Jun 05, 2021

Hi @Ben Sar 
overall this looks like the demand is summing up the values of some custom fields.

grafik.png

The above rule worked in my example, please be noted that you are not limited to two Custom fields. You can have as many as you need but then need to adjust the rule.

 {{#=}}{{issue.FE Story points}} + {{issue.BE Story points}}{{/}}

The above formula is put on "Edit issue fields". It basically says nothing more that to sum the values of two custom fields into "Story points". This is done every time a value in one of the custom fields changes.

Is it what you were looking for?

 

Regards,
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

276 views 13 14
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you