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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Time in Status with ScriptRunner for Cloud

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? 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

0 votes
Craig Nodwell Community Leader Jul 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

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events