Forums

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

what is the automation formula I have added all fields, can someone help with end to end automation

a855031 August 7, 2024

I am giving the logic could you help me give the formula for wsjf syntaxwsjf.PNGWSJF RULE.PNG

2 answers

1 vote
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.
August 8, 2024

Hi @a855031 

This is the third time you have asked this same question, and repeatedly it appears you have not tried to solve the problem yourself.

This community is a place for people with similar interests to learn, and ask for / offer help on Atlassian products.  It is not a free labor pool to implement requests on demand.

I recommend pausing to read the documentation for automation and smart value expressions to learn how to solve such needs, and then experiment to build and test your rules.  If you are unable to do so, please work with your leadership team to consider hiring a fulltime Jira Administrator to support your teams.

Kind regards,
Bill

a855031 August 8, 2024

Hi Bill,

I have tried it myself but there is an error and I have made sure all fields names are correct and case sensitive also used {{/}}error.PNG

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.
August 8, 2024

To diagnose a problem with a math expression in a rule, I recommend:

  • Confirm the smart values are correct
  • Write the values to the audit log to confirm they contain what you expect
  • If that does not help...post your entire math expression as text and an image of your entire rule in your question.  That will allow the community to review it for syntax errors.

Looking at that image with the error message, there is at least a missing {{/}} at the end of the expression.

0 votes
Marc - Devoteam
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.
August 7, 2024

Hi @a855031 

You need to look a smart values in you automation.

You also need 2 a field where the sum of the 1st 3 options is stored

See, jira-smart-values-math-expressions 

If you place all this information in separate numeric custom fields

Example:

Fields

  • Business Value
  • Time
  • Risk
  • Cost of Delay
  • Size

Sum Cost of delay value in automation should contain:

{{#=}}{{issue.Business Value}} + {{issue.Time}} + {{issue.Risk}} 

The add an action to re-fetch issue data

Then the WSJF field should contain:

{{#=}}{{issue.Cost of Delay}} / {{issue.Size}}

a855031 August 8, 2024

Error parsing template: Failed to close '=' tag; all field names are exactly in same case and also used {{/}}, Is it happening because my custom field name has /error.PNG

Marc - Devoteam
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.
August 9, 2024

Hi @a855031 

Then the option would be to change the name of you custom field.

Slashes are always bad news in a name, they are usually revered in an application.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events