Hey all,
I am updating our email templates with field id's instead of the field name. But for some reason when I use the id, I get no results?
Looking around the forums and documentation I find some conflicting info and neither work.
The documentation here - https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/
Says use: which neither actually work for me.
This is slightly confusing as I have been using, which I have never had a problem with.
And after looking at this thread - https://community.atlassian.com/t5/Jira-Questions/Can-t-access-Custom-Field-value-in-Jira-Automation/qaq-p/730676
I tried this and still nothing...
Any ideas?
@Hunter1428 To get the value of your field by id you can use this smart value: {{issue.fields.customfield_10040}} ..
Let me know how it goes! :)
This worked great, I feel silly for not just adding the id number at then end of {{issue.fields.CustomField}} haha
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does this work with fields that have been added to a team-managed project's issue types? Team-managed works slightly differently in that you can add field templates to an issue using the Issue Types page. When I try using smart values like {{issue.fields.customfield_11308.value}} in my automation rules, it always returns nothing, for issues in my team-managed instance.
Heeelp!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using something similar,
I have a user picker field, and I am using
{{issue.Approvers}} - This gives me user id in return.
{{issue.Approvers.displayName}} - this returns me the Name of the person.
What should I use to get the email instead ? Any ideas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, where do you find the IDs of your custom fields ? Is it necessary to be an administrator ?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey!
If you search the filter name in the JQL box, it will say the name and the ID :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to Settings -> Issues -> Custom Fields -> Search for your field -> Click on ... (3 dots) -> then click on Edit Details
On this custom fields screen you will find the id within the URL (something like atlassian.net/...EditCustomField!default.jspa?id=10065)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Or run a JQL query and choose your custom fields as a column; run the query then sort by your custom field and it will show the custom field #.
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,
The following works fine to set security based on a custom field value
{
"update": {"security": [{"set": {"name": "{{issue.customfield_10054}}"}}]}
}
Guillaume.
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.