Thanks all. I have found the way in atlassian answer also and I do this by using Script Runner.
And the script as below:
mport 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 days Timestamp mydueDate = new Timestamp(cal.getTimeInMillis()+ 8*1000*24*60*60); myIssue.setDueDate(mydueDate);
Hi Warren, Below is my code. Currently not working with working days def dateField = getCustomFieldValue("customfield_11111") def numberField = getCustomFieldValue("customfield_11234") def number = numberField?.intValue() if (!number || !dateField) return def result = dateField + number return new Date(result.getTime())
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot