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.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
One of the newest products in the Microsoft family - Microsoft Teams, is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG