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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.