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(" + ")}}
Hi @Ben Sar_
overall this looks like the demand is summing up the values of some custom fields.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.