On this page
Use case
In Jira, work can be split up into several issues. One bigger task can be split up into several sub-tasks. For keeping track of the current status, due dates can be used to indicate, when the issue should be finished. As new sub-tasks are created and the work load increases, the due date of the parent issue might not be up-to-date anymore.
In the following use case we therefore are going to set the parent issue's due date to the latest one among all sub-tasks.
Configuration
Add the Update or copy field values post function to the create transition of the sub-tasks' workflow.
This way the due date will be automatically updated as soon as a new sub-task is created.
Target issue
Choose Parent issue
Fields
Field
Choose Due Date
Value
Choose Set field value manually
Expression
max(fieldValue({issue.dueDate},siblingSubtasks()))
By using this expression, the latest due date within all sibling sub-tasks will be grabbed.
The used functions are:
Screenshots
Related use cases
If you still have questions, feel free to refer to our support team.