I’ve setup an automation to send an email when an issue is created.
I’m having trouble displaying the contents of a custom ‘Check Box’ field named “Menu Item”.
The contents of this field could contain one item, multiple items or no items.
The resulting emails are not displaying any thing for this field regardless of the contents.
How can I have it display all items in the field?
Thanks
Can you share your automation rule?
Sure. See below.
Thanks
Neil
{"cloud":true,"rules":[{"id":7087502,"clientKey":"697a1bf5-15bf-3470-be1d-5065f59941a0","name":"Notify Neil Email","state":"ENABLED","description":null,"authorAccountId":"557058:5cdc2c3b-5b6f-4716-a660-a3ad8c1eff55","actor":{"type":"ACCOUNT_ID","value":"557058:f58131cb-b67d-43c7-b30d-6b58d40bd077"},"created":1658937564429,"updated":1658960023281,"trigger":{"id":"137316481","component":"TRIGGER","parentId":null,"conditionParentId":null,"schemaVersion":1,"type":"jira.issue.event.trigger:created","value":{"eventKey":"jira:issue_created","issueEvent":"issue_created"},"children":[],"conditions":[],"connectionId":null},"components":[{"id":"137316482","component":"ACTION","parentId":null,"conditionParentId":null,"schemaVersion":3,"type":"jira.issue.outgoing.email","value":{"fromName":"","replyTo":"","to":[{"type":"SMART","value":"{{issue.Email}}"}],"cc":[],"bcc":[],"subject":"Support Ticket {{issue.key}} {{issue.summary}} Received","body":"Hi {{issue.Requestor}}:\n\nWe have received your support request: {{issue.key}}\n{{issue.summary}}\n\nThe issue details appear below.\n\nYours truly,\n\nRefinement Services Support\n\n\nIssue Details:\nDate Created: {{issue.created}}\nIssue Type: {{issue.Type}}\nMenu Item(s): {{#issue.Menu Item}}{{Menu Item}}{{issue.Menu Item}} {{/}}\nPriority: {{issue.Priority}}\nQuick Fix?: {{issue.Quick Fix}}\nAttachment: {{issue.Quick Fix}}\nAttachments: \nDescription: {{issue.Description}}\n","mimeType":"text/html","convertLineBreaks":true},"children":[],"conditions":[],"connectionId":null}],"canOtherRuleTrigger":false,"notifyOnError":"FIRSTERROR","projects":[{"projectId":"10001","projectTypeKey":"business"}],"labels":[],"tags":[{"id":7384901,"tagType":"IS_RULE_UPDATED","tagValue":"true"}],"ruleScope":{"resources":["ari:cloud:jira:3cced499-2b47-497b-9e2c-61b9fa550073:project/10001"]},"writeAccessType":"UNRESTRICTED","collaborators":[]}]}
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.
Hi @Neil Kugelman ,
sorry I have been otherwise occupied. I wasn't expecting automation in the form shown here. I assumed you were simply using the built in automation components. I assume it falls short for you? In the meantime I will see if I can create a basic rule and test. I will get back with my results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neil,
I was able to get the checkbox to display using The below rule. I was able to add the checkbox into a comment as well as into the body of an email.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jack
Thanks for the response. I'm away from my computer till Monday AM. I'll check it out and let you know.
Thanks again
Neil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jack
It still doesn't seem to be working for me. Perhaps I didn't explain it correctly.
Since the field "menu item" can have multiple responses (selected from a list) I can't get this field to display in an email.
I've attached some screen shots to better explain.
Thanks
Neil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just re-tested my above rule with multiple values in the checkbox field and the email successfully illustrated the proper info...
Here is my issue with checkbox option shown...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just for grins, delete everything else in the body of the email rule except for your checkbox entry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The other thing you can do is to replace this {{issue.Menu Items}} with {{issue.customfield_xxxxx}} where xxxxx is the custom field ID. This ID number can be acquired by going to settings – issues – custom fields, find your field click on the… And select edit details. At the very end of the URL for that page will be your ID number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jack
All working fine now. It seems the problem was with the custom field.
I deleted "Menu Item" and created a new field and it works fine. FYI, your last instructions, directing me to the custom fields in settings was where I saw that there was something wrong with that field.
Thanks for your help!
Neil
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.