Versions Compared

Key

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

Table of Contents

...

Info
titleRequired apps

Power Scripts Scripts™ for Jira (server)

Level: BASIC

...

Solution

One will need to add a SIL SIL™ condition on the close transition which will verify the statuses of all dependencies (child and linked issues). If any of the dependencies is not already closed the condition will return false.

...

For the sake of this exercise we will consider that all subtasks need to be closed in order to let an issue to be closed.

Add a new condition

Log in as an administrator and navigate to Administration-> Workflows and edit "Close Issue" transition on your Jira workflow.

Image Modified

Press "Add a new condition" link.

Image Modified

Select (k) SIL SIL™ Condition and then press Add.

Image Modified

Writing the

...

SIL™ code

The page Add Parameters To Condition apprearsappears. In the SIL SIL™ code edit area insert the following code:

...