Hello! I am trying to add what is input into a custom field (Name of Employee) by a user when submitting a ticket into the issue summary of the ticket.
I've found the custom field ID, and have tried automation by including {{issue.customfield_12524}} in the summary based on request type. I've also tried {{issue.Name of Employee}} and a couple of other options based on articles I've found.
However, once submitted, the result is just a string of numbers, (ex. 5e82917b9e34c00c17d20444), not the actual content of the custom field.
What am I doing wrong? Should I pre-populate the summary field in the request type with something specific to produce the desired return? Am I using the wrong code structure in the automation?
Please help!
Thanks,
Justin
Hello @Justin Goodemoot
Is your custom field a user picker field?
Try to log below smart value before editing summary.
{{issue.customfield_12524.displayName}}
If that does not work, you may have to follow below steps and share relevant section of JSON for us to understand this field.
Thank you Kalyan! It was a user picker field but I changed it to a short text field. I realized that this will be better for us long term as it will give users more flexibility, but I appreciate this potential solution should we go back to it being a user picker field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan, just popping back in to say that I tried the {{issue.customfield_12524.displayName}} on the user picker field as well, and that worked too! Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are a few steps you can take to troubleshoot and resolve this issue:
{{issue.customfield_12524}}
should work, but it’s important to make sure that there are no typos or errors in the rule itself.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much Niraj!!
The Name of Employee field was a "user picker" custom field. I changed it to a new, short text input field, used the syntax {{issue.customfield.12682}} and it worked!
Thank you for your help!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.