I have a field called "items" multiselect and values like (mouse, keyboard, monitor, phone)
when I selected Mouse the mapped amount is 2000 and keyboard=5000 and monitor-8000.
While creating a ticket it I selected items based on mapping "total purchase amout" field updated all items +
Mouse = 2000
Keyboard = 5000
Total Purchase amount = 7000.
I written a automation rule but getting error
{{#=}} {{#if(issue.fields.customfield_10090.match(Monitor))}}3000{{else}}0{{/}} + {{#if(issue.fields.customfield_10090.match(Notebook))}}2000{{else}}0{{/}} + {{#if(issue.fields.customfield_10090.match(UPS))}}6000{{else}}0{{/}} + {{#if(issue.fields.customfield_10090.match(License))}}13000{{else}}0{{/}} + {{#if(issue.fields.customfield_10090.match(Add-on))}}15000{{else}}0{{/}} {{/}}
Hi Nagaraju,
Can you paste in a screenshot of your automation please?
And to ask also does this work if all options are checked, 1 option or 0 option?
Thank you
-Ciara
Also perhaps the LookUp Table function might be a better way to do this:
Check out: https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Create-lookup-table/
Add you can add the default also by covered using: {{lookup_table.get(issue.customfield_10090)|0}}
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.