[SOLVED] Automation for "Time to resolution" does not working well

Marco Savarese May 16, 2023

Hi,
I have implemented an automatism which, when the "Time to resolution" SLA changes, must send an email to reporter.

The email is sent to reporter, but it does not receive the SLA.

Could you tell me if there is something wrong with this rule:

"Gentile utente,
il ticket {{issue.key}} verrà risolto entro il {{issue.Time to resolution.ongoingCycle.remainingTime.friendly}} salvo imprevisti.

"

{{issue.type}} returns the ticket number

{{issue.Time to resolution.ongoingCycle.remainingTime.friendly}} returns an empty value

------------------------------

This automatism works on a test instance, on the client instance it doesn't work.

Could this be a problem with the SLA calendar?

 

Calendar 1 is: Default calendar 24/7

Calendar 2 is customized:

Immagine 2023-05-18 102315.jpg

 

 

Thank you

Marco

2 answers

0 votes
Marco Savarese May 30, 2023

Problem solved:

if you have only one custom field with the name Time to Resolution, use this:

{{issue.Time to Resolution.ongoingCycle.goalDuration.friendly}} - time goal of the TTR SLA
{{issue.Time to Resolution.ongoingCycle.elapsedTime.friendly}} - elapsed time of the TTR SLA
{{issue.Time to Resolution.ongoingCycle.remainingTime.friendly}} - remaining time of the TTR SLA

if you have more custom field or more values for Resolution, use this:

{{issue.customfield_xxxxx.ongoingCycle.goalDuration.friendly}} - time goal of the TTR SLA
{{issue.customfield_xxxxx.ongoingCycle.elapsedTime.friendly}} - elapsed time of the TTR SLA
{{issue.customfield_xxxxx.ongoingCycle.remainingTime.friendly}} - remaining time of the TTR

0 votes
Kateryna_v_SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 26, 2023

Hi @Marco Savarese 
What do you mean under "it does not receive the SLA."?
Are you talking about SLA report or SLA name?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events