Custom Field is not updating

Tehmina Aslam
Contributor
November 7, 2024

I have a custom field Coins, i want it to be updated based on the value of other custom fields (all are numeric fields)

I have set up rule: I want Coins to be updated 

Complexity is 2

Effor is 3

Coins = (2+3)/2 = 0.5

Screenshot 2024-11-07 165113.pngScreenshot 2024-11-07 165210.pngScreenshot 2024-11-07 165217.pngScreenshot 2024-11-07 165251.png

 

The rule is showing this error.

Screenshot 2024-11-07 165539.png

2 answers

2 votes
Ugnius Aušra
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.
November 7, 2024

Hey @Tehmina Aslam 

As you can see in audit log, rule is showing, that error is in syntax.

Uploading image to show specific location where to focus:

Screenshot_7.png

0 votes
Bill Sheboy
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.
November 7, 2024

Hi @Tehmina Aslam 

First thing, in your Edit Issue Fields action you are trying to update the field two ways: with the field dropdown and with JSON.  Only one of those may be used at a time for a specific field, so remove one of them.

Next, there are errors in your math expression: it is missing the precision for the ROUND() function, and there are mismatched curly brackets for the smart values.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events