Abstract
This code snippet adds certain number of days to a Date field.
Logic
Access the date and add the number of days to it.
Snippet
{{ <Date field> | dateadd(<Number of days>,"d") }}
Placeholders
Placeholder | Description | Example |
---|---|---|
<Date Object > | Access a date field |
|
<Number of days> | The number of days to be added | 5 |
Context
The output of this snippet is a Timestamp which you can use to
- Set a Date/Date-Time picker field in Set field value and Set field value of linked issues post-function
Use cases
Reference
- How to insert information using Nunjucks annotations
- Accessing user created custom fields
- Accessing JIRA Standard fields
Related articles
Filter by label
There are no items with the selected labels at this time.