Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

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

UI Steps


UI Step

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.


UI Step

Target issue

Choose Parent issue


UI Step

Fields

UI Steps


UI Step

Field

Choose Due Date


UI Step

Value

Choose Set field value manually


UI Step

Expression

Code Block
linenumberstrue
max(fieldValue({issue.dueDate},siblingSubtasks()))


UI Text Box
typeinfo

By using this expression, the latest due date within all sibling sub-tasks will be grabbed.

The used functions are:







Screenshots

Image Added


Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor = "27067093"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Update or copy field values

Parser functions

fieldValue()

max()

siblingSubtasks()

Label



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged