Abstract
This code snippet adds a certain number of days to a Date field.
...
- To set a Date/Timestamp field in
- one of the Set Field Value post-functions
- one of the Transition issue post-functions on the transition screen, if any
- in the Create issue post-function under Set fields of new issue section
- To include the Date/Timestamp in the
- Comment in one of the Comment issue post-functions
- Subject/HTML body/Text body of Email issue post-function
- JQL search expression of Link issues current to issue
- In a conditional execution script to
- Run a post-function on comparing two Timestamps
- for a specific date
- Unlink issues based on
- with a specific date comparison
Use cases
A typical use case would be to set the Due date of the issue to issue created plus 5 days - Set the due date to issue created plus five days
...