Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,272
Community Members
 
Community Events
165
Community Groups

Custom fields smart value in automation

Hi guys! 

What we need ?

We trying to replicate the form with custom fields in jira automation that sends e-mail with forms to single or multiple e-mails.

 

What we try ?

We trying to use several types of custom.fields  like:

{{issue.field name}}
{{issue."Complete name"}}

{{issue.fields.customfield_12493}}

{{issue.[“[IO] - field name”].name}}

{{issue.[“[IO] - field name”]}}

{{issue.fields."[IO] - field name".name}}

{{issue.fields."field name".name}}

{{issue.fields.field name.name}}

{{issue.fields.[IO] - Field name.name}}

{{issue."Complete name"}}

{{issue.fields.field name.name}}

{{issue.[[IO] - field name].12493}}

{{[IO] - field name.description}}

None os this working, someone can help me with ?

3 answers

1 accepted

0 votes
Answer accepted

Hi guys good day

 

We managed to make this work, we use this string:

{{issue.field_name}}

But if we use 

{{issue.field_name.description}} this wont work.

 

But thanks to all support i think the {{issue.field_name}} string will work for anyone.

Hi @Daniel D_Alessandro 

When you have difficulty finding the exact smart values for your fields, this how-to article can help.  Essentially you use a browser tab to look at an example issue and see all fields.  https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Once you find the field's smart values, the field's type can influence how you access it.  For example, text fields just return the value, while other fields may return an ID value.  That same how-to will help find any attributes of the field, such as ID, name, etc.  When in doubt, please try {{issue.myFieldName.value}}

Kind regards,
Bill

Hi @Daniel D_Alessandro , can you share some screenshot of the automation? I will try to test it...

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you