Get korrekt smart value

dahu February 26, 2024

Hello,

I got an SLA with json-name: "\"Erledigt\" nach 14 Tagen \"Geschlossen\""

With a log-action with smart value: {{issue.fields."\"Erledigt\" nach 14 Tagen \"Geschlossen\""}} I get this result:

SlaFieldBean{completedCycle=[]ongoingCycle=SlaCycleBean{startTime=SlaDateTimeBean{iso8601=Mon Feb 26 12:21:05 UTC 2024, jira=Mon Feb 26 12:21:05 UTC 2024, friendly='Heute 13:21', epochMillis=1708950065734}, breachTime=SlaDateTimeBean{iso8601=Thu Feb 29 05:21:05 UTC 2024, jira=Thu Feb 29 05:21:05 UTC 2024, friendly='29/Feb/24 06:21', epochMillis=1709184065734}, breachTime=null, breached=false, paused=false, withinCalendarHours=true, goalDuration=SlaTime{millis=234000000, friendly='65h'}, elapsedTime=SlaTime{millis=2163363, friendly='36m'}, remainingTime=SlaTime{millis=231836637, friendly='64h 23m'}}}

 

... so it works.

But I need the value of 

{{issue.fields."\"Erledigt\" nach 14 Tagen \"Geschlossen\"".elapsedTime.millis}} to compare the value with another value, but in a log-action I do not get a result for the smart value

What is the correct smart value for that?

See screenshot with .json - names...

Best Regards,

Daniel

2024-02-26 14 04 53.png

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 26, 2024

Hello @dahu 

Can you please log below smart value and check

{{issue.customfield_10206.ongoingCycle.elapsedTime.millis}}

dahu February 26, 2024

Hello Kalyan,

aarrgghhh :) ... I should have been able to see the missing "ongoingCycle" ... next time I will know.

It works fine, thank you very much!!

Best Regards,

Daniel

Like Kalyan Sattaluri likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events