Hey Everyone,
I finally found my solution to a "free" version of automating the WSJF score on Epics in Jira without having to procure an add-on. My company is on Jira Cloud so we have access to Automation rules capability for projects.
Setup - We created 5 new fields
- Time Criticality
- Business Value
- Risk reduction / Enablement
- Size
- WSJF Score
My rule steps:
- Create a value change on any of the WSJF values (Time Criticality, Business value, Risk Reduction/ Enablement, Size) for any operations
- Create a new Variable
- Variable Name = CalculatedBusinessValue
- Smart value = {{#=}}{{Issue.Time Criticality|0}} + {{Issue.Business Value|0}} + {{Issue.Risk Reduction / Enablement|0}}{{/}}
- If/Else Block
- If SIZE is NOT EMPTY
- THEN Create Variable
- Variable Name = CalculatedWSJF
- Smart value = {{#=}}{{CalculatedBusinessValue}}/{{Size|0}}{{/}}
- Edit Issue
- Set WSJF Score to new variable {{CalculatedWSJF}}
- ELSE block
- WSJF Score = This field will be cleared
Key Notes:
- These are my names for the fields so you will have to adjust to your company/instance name of the fields you created
- At the end of each variable name I added "|0" before closing the object. This helps provide a "0" in replace of a null value so you do not get any silly math errors. Most likely not needed but i provided just in case
- The If/Else block is a nice to have add-on because it will provide two benefits. If job size score is removed it will reset the WSJF score back to nothing. Secondly it does not cause an error message if business scores any of their 3 items ahead of job size. Anything divided by "0" will cause an error email to get generated.