Hi All,
Im just thinking to migrate my jira to new version. From jira5.2.3 to jira6.0.8.
Im using post script runner to automatically add due date.
However, when testing in jira6.0.8 the script not fuction as it did in jira5.2.3.
This is my simple script.
import com.atlassian.jira.ComponentManager import com.atlassian.jira.issue.CustomFieldManager import com.atlassian.jira.issue.MutableIssue import com.atlassian.jira.issue.customfields.CustomFieldType import com.atlassian.jira.issue.fields.CustomField import java.sql.Timestamp; MutableIssue myIssue = issue Calendar cal = Calendar.getInstance(); // set due date to: current date + 8 hours Timestamp mydueDate = new Timestamp(cal.getTimeInMillis()+ 8*1000*60*60); myIssue.setDueDate(mydueDate);
Please help me to resolve this issue.
Thank you in advance.
Where do you want to display the due date? In JIRA you can add the due date to the view screen, in JIRA Agile you can add it to the deatils view in the rapid board configuration.
hello rozuan,
are you updating the issue after you set setDueDate customfield?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No error on the catalina. However, I manage to resolve this after upgrade greenhopper plugin.
I got this one more issue, how to display due date field on the ticket?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No error on the catalina. However, I manage to resolve this after upgrade greenhopper plugin.
I got this one more issue, how to display due date field on the ticket?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, are there any errors in the log? At wich position in the list of postfunctions is this script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.