converting MS from smart value to time with scriptrunner

Ben July 31, 2021

Hi,

the use case is that i need to convert the elapsed time of an SLA to a hh:mm:ss format. 

i would like to create a script this, but im a newbie to script runner and cant find my arms and legs there. 

the elapsed time is within the issue {{issue.customfielfforSLA.elapsed.miliseconds}}

i need to convert it to hh:mm:ss and update another issue's field. 

 

any assistance would be highly appreciated. 

 

Thanks

Ben. 

1 answer

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 1, 2021

Hi @Ben , can you share more information? What setup of your environemtn is used? Can you share screenshots or something? At least there is a page with documentation of datetime functions: https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/

Suggest an answer

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

Atlassian Community Events