Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Custom Field id not working in Smart Values


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 -

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.

  • {{issue.fields.CustomField}}


And after looking at this thread -

  • {{issue.fields."paste your field name here".value}}

I tried this and still nothing...


Any ideas?



3 answers

1 accepted

5 votes
Answer accepted
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 26, 2020

@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


Like # people like this

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.



Like Olivia Chaney likes this

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

Try {{issue.Approvers.emailAddress}}

Like Marc Isikoff likes this

Hi everyone, where do you find the IDs of your custom fields ? Is it necessary to be an administrator ?



If you search the filter name in the JQL box, it will say the name and the ID :)

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!default.jspa?id=10065)

Like # people like this

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 #.


The following works fine to set security based on a custom field value

"update": {"security": [{"set": {"name": "{{issue.customfield_10054}}"}}]}


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events