Hi all,
I have a very specific one.
*My company uses the basic license*
I'm trying to create an automation in Jira to follow the following conditions.
I have 5 custom fields I have already created + 1 custom field that will need to be a calculation of the 5.
5 fields:
Calculated Field:
I want the automation to trigger once Effort is updated or entered for the first time.
This field will always be the last one to be updated, which is why I don't want the other fields to trigger the automation.
This is the weighting I need to use for the calculation.
{{#=}}({{Severity}}*5) + ({{Impact}}*3) + ({{Frequency}}*2) + ({{Reproducibility}}*1) - ({{Effort}}*1){{/}}
If any of the 5 fields are left blank or marked as zero, the 'Score' field should be left blank. This should also take affect if any of the fields are changed later.
I also need to Score to update by using the weighting formula anytime any of the 5 fields' values change.
If I understand your scenario correctly, you want:
GIVEN a work item
WHEN the Effort field is set the first time
THEN calculate the Score
AND all subsequent updates of the following fields will trigger an update of Score: Frequency, Impact, Severity, Reproducibility, Effort, and Score.
Note: I added that last field in case you want to handle the tampering case where someone manually changes the Score.
The question is: how do you detect the Effort field has not be set yet? You could...
Kind regards,
Bill
Hi Bill,
Thank you for your response - what you said is correct.
I tried different ways of automating it within Jira and can't seem to get it to trigger properly.
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.
Thanks for that information, and...
I am assuming the source fields for the calculation are number fields. Please let me know if that is not correct.
Based on what you described, the first set of conditions in the if / else block is incorrect as it is using OR operators (i.e., At least one condition matches) when they should all be not empty, using the AND operator. That is a simple fix: at the top of that condition, select the "All conditions match" option.
With that change, I believe the rule can be simplified:
Please try that and let me know what you observe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.