You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have the below script which simply copies the Due Date value and displays it.
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue
import java.text.SimpleDateFormat;
import java.text.DateFormat
// get the value of the Due Date custom field
def dateAValue = issue.getDueDate() as Date
// build the new date
def dateB = Calendar.getInstance()
// copy to the new date the value of the Due Date custom field
dateB.setTime(dateAValue)
return dateB.getTime()
I need help with modifying this script, so that it displays the farthest Due Date from the list of epics. The above scripted field is for Program epic
Thank you
This is a Script Field?
@Steven Behnke Yes, it is. This script simply copied the date from the Due Date field. I m looking for a way to have a scripted field that selects the farthest value of the Due Date (in epics) , and displays it in Program Epic. Can you please help. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.