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

How to add Custom Field Smart Value in automation

Jira Admin Team February 12, 2024

Hi i want to add a custom field "Purchase Order No" on global automation to create linked issue to other issue.

What the appropriate smart value need to call the purchase order no custom filed

I try "Purchase Order No." ~ {{issue.customfield_10281.value}}

But this not working it always having error like this erro.png

1 answer

1 accepted

2 votes
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2024

@Jira Admin Team -

Welcome to community.  Try the following syntax - {{issue.My custom field name}}.  In your rule, if you are using smart value in your JQL stmt, then you'll need to make sure it evaluates to a proper JQL.

I would recommend to use the Log Action to try to create you JQL string and then test out the JQL manually to make sure it's valid. e.g you might need to add quotes around the JQL to make it work in some cases

e.g. 

assignee = '{{issue.your custom field name}}'  

I assumed that the custom field is a string?

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Jira Admin Team February 21, 2024

Thanks Mr. Joseph Chung Yin

Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2024

@Jira Admin Team -

You are welcome.  if my suggestion helped you, please click on "Accept answer" when you have a chance, so others with similar asks will find this posting as an answered one.

Best, Joseph

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events