Forums

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

"Time to completion" not appear in comment for Automation Rule

Azri
Contributor
April 30, 2025

Hello everyone!

 

I have established an automation rule designed to trigger a comment when the status of a service request changes from New/Waiting for Support to In Progress/Assigned.

However, upon triggering, the comment that includes the Smart Value {{issue."Time to completion".remainingTime.friendly}} does not display the value within the comment field.

Has anyone encountered this issue previously? I would appreciate any assistance.

rule_2.pngrule_3.png

rule_1.pngrule_4.png

Thank you, Guys!

2 answers

0 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.
April 30, 2025

Hi @Azri 

Smart values are name, spacing, and case-sensitive.  When an incorrect one is used, that often fails with no errors.

Perhaps use this how-to article to confirm you have the correct smart value for your SLA, using an example work item that has the SLA:

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

 

Kind regards,
Bill

0 votes
David Friedrich
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 30, 2025

Hi @Azri ,
I could be wrong on this, but according to this documentation (https://support.atlassian.com/jira/kb/how-to-find-smart-value-of-sla-component-of-jsm-issues/)
your smart Value is missing an "SLA" between issue. and SLA-Name.

So it should look like this:

{{issue.SLA."Time to resolution".remainingTime.friendly}}

Sorry, misread the doc obviously. But my take away is that there are no direct smart values for SLAs but that you can find out and use SLA relevant information via log action and storing results in variables. Hope that helps.

Azri
Contributor
April 30, 2025

Hi David,

Thanks for your prompt reply.

As per shown in the screenshot, I already add log action here, and the value still not appeared.

rule_5.pngrule_6.png

I believe there is some limitation in the automation rules here to show the value of SLA Smart Value.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events