Hi there,
I want to add the values in 3 custom fields together and fill in that sum in another custom field. Here is what I have tried so far that have gotten "Success" in the audit log (but have not actually been successful, i.e. — have not added the fields together and filled the other custom field):
(1)
(2)
The scheduled JQL is: issuetype in standardIssueTypes() AND status != "To Do" AND status != "Outline" AND status != "Initial Draft"
I did check that the custom field IDs were all accurate. And I've been manually running the rule with the "Run rule" button but have unchecked the "Only include issues that have changed since the last time this rule executed."
Thanks!
Hello @Emma Hecht
That is not the right syntax for a math function. Refer to
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
{{#=}}
The above needs to appear at the beginning of the equation.
{{/}}
And that needs to appear at the end of the equation.
Additionally, each smart value has to be enclosed in double curly braces:
{{#=}} {{issue.customfield_1}} + {{issue.customfield_2}} {{/}}
Oh got it, thanks so much! Used the link you provided and got it to work with:
{{issue.customfield_11244.plus(issue.customfield_11245).plus(issue.customfield_11246)}}
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.