Hello Everyone,
I have an automation in Jira project that sends an email to users when a ticket is created (under certain conditions).
In this notification I have a custom field "Location" and recently instead of displaying for example "France" it displays somthing like this:
Location: {self=https://issuetracker.xxxxxx.com/jira/rest/api/2/customFieldOption/20706, value=France, id=20706, disabled=false, child={self=https://issuetracker.xxxxxxxx.com/jira/rest/api/2/customFieldOption/20776, value=Paris, id=20776, disabled=false}}
Do you know by any chance where this could come from? It used to work very well. In the automation this is what is indicated to get the information:
Location: {{issue.Location}}
Thanks in advance for any help / advice
Kind regards
Hi @Fabien Giquiaud !
It looks like something may have changed in your custom field and/or server version.
To access the raw value of a field which is not a text field you should add .value at the end as follows:
Location: {{issue.Location.value}}
This should display "France" according to the provided example.
Hope this helps!
Renzo from Servicerocket.
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.