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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,466,306
Community Members
 
Community Events
176
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? 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

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
TAGS

Atlassian Community Events