We use a custom field "Due Date". When an issue is created a default value should be set. It should be the current Date + 7d.
I have no programming skills, but we use scriptrunner. Somebody an idea?
Thank you very much for your advice!
Follow the steps below;
import java.sql.Timestamp
issue.setDueDate(new Timestamp((new Date() + 7).time))
It should already be visible when the create issue screen is seen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I solved it now with Live Fields and the following script:
string Date=currentDate()+"7d";
if(argv["screen"]=="create") {
lfSet("Due Date",Date);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register today
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.