Hey Guys....I have custom fields, such as "Customer" (which is a drop down menu), "Non Conformity Type" which is multiple checkboxes in a list, and "Complaint Type" which is 2 options, 'internal or external' -- I'm trying to get them to display in the automated email that I have being sent when an issue is created. I also want to do it when an issue is Completed. Here is what I'm using below, but it doesn't return anything. It's blank....
Complaint Type: {{issue.COMPLAINT TYPE.name}}
Customer: {{issue.Customer.name}}
Non Conformity Type: {{issue.non conformity type.name}}
I know this isn't correct, can someone help me?
Hi @Gregory James , Please try the following leaving off the ".name"
Complaint Type: {{issue.COMPLAINT TYPE}}
Customer: {{issue.Customer}}
Non Conformity Type: {{issue.non conformity type}}
Jack, thank you so much it worked, however CUSTOMER didn't work. But the others did. Perhaps its because I have 2 custom fields named Customer? so it doesn't know which one to pick?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
or maybe because its in a drop down menu? I actually checked I only have one custom field called CUSTOMER, which is a dropdown menu of about 110 items, I just want it to display which one is selected. should be "{{issue.CUSTOMER}}" right? or is it different with a list
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is your Customer field a user field or a basic selection field?
Kind regards,
Bill
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.
Okay, let's try this...
Smart values are name, spacing, and case-sensitive...Perhaps the smart value you are using for the "Customer" field is not correct, and that would result in it always being null (empty).
You can check that by finding an example issue with a Customer set, and then use the following how-to. Basically you call the REST API with a browser, and that will show all possible smart values for your fields.
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bill, I just used the customfield_00000 and it worked like a charm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am a bit perplexed as to why Bill's suggestion did not work unless there are two custom fields by the same name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Jack! Without seeing the result of the REST API call, I hypothesize possible causes could be:
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.