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

Time in Status with ScriptRunner for Cloud

Scott Theus
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.
July 13, 2022

I'm brand new to ScriptRunner (just got access today, yay me!) and it's been years since I've written any type of code, so I'm a complete noob.  I hope someone can help...

I need to report on how long issues in a project spent in each status in the workflow. I've found a couple of scripts in the Adaptavist Library that look like they will give me what I need, but they are for Server and Data Center. Is there a way to adapt either of these for Cloud? Or...is there a better way?

There are several good aps in the Marketplace, but I'm not able to add anything to out instance. 

 

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 13, 2022

Hi @Scott Theus the routines for the calculations would be exactly the same.  The big differences are how you get or put the issue object.  Have a look at the Scriptrunner Library specifically for cloud examples on getting the issue object, And there's some posts on gathering date/time details on statuses using the java date utils that wouldn't change

TAGS
AUG Leaders

Atlassian Community Events