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

Can Changelog be used on customfield?

Garret Zhang February 19, 2024

Hi,

As title says, is this possible? 

None of the below works...

{{#changelog.SIMActivationDate}}{{toString}}{{/}}

{{#changelog.customfield_11712}}{{toString}}{{/}}

{{#changelog.issue.customfield_11712}}{{toString}}{{/}}

 

Screenshot 2024-02-19 113844.png

 

 

I do know this work with build in field like Due date... Below works for my other automation.

{{#changelog.duedate}}{{fromString}}{{/}}

 

Thanks,

Garret

1 answer

1 accepted

1 vote
Answer accepted
Kalyan Sattaluri
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.
February 19, 2024

All below worked for me to log the changed value for a custom field (Date 1) of type Date.

{{#changelog.Date 1}}{{toString}}{{/}}

{{changelog.Date 1.toString}}

{{fieldChange.toString}}

 

When I referenced custom field name itself, like below, I did not get any results.

{{#changelog.customfield_11308}{{toString}}{{/}}

{{changelog.customfield_11308.toString}}

 

I am guessing its because when you look at sample URL for an issue, field is referenced by its name.

https://yourdomain.net/rest/api/2/issue/KPMS-53?expand=changelog

 

Now to your issue, please check the field name is correctly spelled out. 

Should it be like below?

{{#changelog.SIM Activation Date}}{{toString}}{{/}}

Garret Zhang February 19, 2024

that worked! I didn't know smart value accept spaces. Thanks much!

Like Kalyan Sattaluri likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events