Forums

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

Math on a field

Neetu Verma
Contributor
May 13, 2020

Hi,

 

I have asked a similar question and this community was able to help me and provide a solution. Now I have follow-up question on addition Math. 

We have two field, SP and Revised SP

Basically we estimate a story for 3 different work efforts for 3 teams. And while developing any of these 3 teams can update SP as per revised effort. 

SP is the addition of Field 1+Field 2+Field 3

Field4, Field 5 & field 6 basically are revised estimation for Field 1, 2, 3

Scenario 1 

SP= 5  ( Team 1= 2, Team 2= 1, Team 3= 2)= Total effort 5

Team start working and now Team 2 goes say our effort is 3 point. 

At this point Revised SP math should be ( Team 1=2, team 2= 2, team 3=2) =6

My current Math is 

{{#=}} {{issue.customfield_10008|0}} + {{issue.customfield_12073|0}} + {{issue.customfield_12103|0}} + {{issue.customfield_12072|0}} {{/}}

which would make it ( SP=5+Team 2=2)= 7

how do I fix this.  I need a way to say that {{issue.customfield_10008|0}} then use Team 1 value

1 answer

0 votes
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.
May 14, 2020

You'll need to use one of the apps that provides the ability to code for your arithmetic.

Neetu Verma
Contributor
May 18, 2020

any suggestions on which app can work.

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.
May 18, 2020

I'd use ScriptRunner, but I do work for Adaptavist, so that's always going to be my first answer.  Powerscripts can do it, and I think Automation and Autoblocks can as well.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira service management, devops, ship quality code, atlassian webinar, continuous delivery, integrated workflows, change management, developer productivity, agile teams, atlassian community events, ace, atlassian learning

Ship quality code faster with Jira Service Management ✨

In the wake of growing customer expectations, development teams are facing more pressure to deliver innovations faster. Register for this 45-minute webinar to learn how devs can accelerate software delivery and time-to-market with Jira Service Management.

Register now 🚀
AUG Leaders

Atlassian Community Events