Forums

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

How can use custom fields in a smart value expression?

Ariel Eduardo Casiano García April 25, 2022

Hi, I want to use custom field in a smart expression for automation and I don't know how is the name of the field. For example: {{now.diff(issue.baseline end date).days}} 

 

This doen't work.

 

Best Regards

Ariel

 

1 answer

1 accepted

1 vote
Answer accepted
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.
April 25, 2022

Hi @Ariel Eduardo Casiano García  -- Welcome to the Atlassian Community!

When you need to find the correct smart value for a field, please try this how-to article.  Basically you find an example issue and then call the REST API with a browser to list all of the possible fields.

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

Ariel Eduardo Casiano García April 27, 2022

I found that you can use de custom fields is this way: 

{{now.diff(issue.customField_10069).days}}+1

In the field configuration you can find the id

 

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events