Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do you change word days in next-gen project?

Timothy Carlisle
April 25, 2020

My issue is it shows 0 days remaining on sprints that are going over the weekend.  My business works in a different schedule than a standard M-F work week.

1 answer

1 accepted

5 votes
Answer accepted
Jon Bevan [Adaptavist]
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 Champions.
February 14, 2017

Hi Rudy,

In the additionalCode of the Clone Issue post function you'll need this code:

def response = get('/rest/api/2/myself').asObject(Map)
assert response.status == 200

def currentUsername = response.body.name
issueInput.fields.reporter = [name: currentUsername] as Map

Here's a screenshot too:

clone_issue.png

I hope that helps, Jon

Rudy Holtkamp
Community Champion
February 14, 2017

Thanks @Jon Bevan [Adaptavist], that is not what I expected, but sure works! It is quite a change going from scriptrunner server to cloud!

 

 

Suggest an answer

Log in or Sign up to answer