Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA smart-value property for a custom field, I tried to use this, but no luck: {{issue.model}}

Caleb Park
Contributor
January 31, 2024

Hi guys,

 

In my JIRA automation, I am trying to use a JIRA property {{issue.field}}.

I've confirmed {{issue.summary}} works well, but now I need to take a custom field "model".

I tried {{issue.model}}, {{issue.CustomField.model}}, {{issue.parent.model}}, etc., but everything didn't work.

How can I bring the custom field "model" by using a smart value property?

 

FYI: when exporting the field, it is Custom field (Model).

2 answers

2 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2024

Hi @Caleb Park 

I suggest using this article to help determine the smart value and custom field id for your field in rules:

https://confluence.atlassian.com/automation/find-the-smart-value-for-a-field-993924665.html

Kind regards,
Bill

Caleb Park
Contributor
February 2, 2024

@Bill Sheboy 

Thank you!

Like Bill Sheboy likes this
0 votes
Kian Stack Mumo Systems
Community Champion
January 31, 2024

@Caleb Park

 

I've seen something similar happen if you have multiple custom fields with the same name. Can you confirm you only have a single "Model" field?

Caleb Park
Contributor
February 2, 2024

@Kian Stack Mumo Systems 

 

I observed there are multiple "Model" fields.

 

Kian Stack Mumo Systems
Community Champion
February 2, 2024

If you have multiple "Model" fields, you'll need to reference it using the format customfield_xxxxx.

Suggest an answer

Log in or Sign up to answer