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

Panel
borderColor#1b878f
titleColor#1b878f
titleBGColorwhite
titleUse case details
Page properties
Function

<link to function being used>

Type

Image RemovedPost function

Use case description

Add a comment to alert the reporter about an issue that has

Status
colourRed
titlehigh
or
Status
colourRed
titlehighest
priority.

Complexity

Status
colourGreen
titleBeginner

Image RemovedConfiguration steps



UI Text Box
sizemedium
typeinfo

Use case

In Jira you can easily structure your work by using different issue types. And also sub-tasks!

Once all sub-tasks are completed, the parent issue can also be marked as completed.

But what if one sub-task gets reopened?

In this use case the parent issue is automatically reopened, if one sub-tasks is reopened, too. In the following use case we show you how to do it!


Image AddedConfiguration

Basic configuration*

UI Steps


Comment text* step
UI Step

Choose Add comment manually (parser expression)Add the Transition issue post function to a workflow transition you want it to place in.

ui-text-
box
Expression*
type
Code Block
linenumberstrue
Hi [~%{issue.assignee}],
this issue needs your attention. Please provide feedback as soon as possible!
  
Thanks,
%{system.currentUserFullName}
UI Expand
titleComment visibility
By default it is set to Unrestricted (all users), but you can change this option.
UI Expand
titleAdditional options
  •  Send email notification
UI Step
UI Expand
expandedtrue
titleConditional execution
Code Block
%{00017} in ["High","Highest"]
UI Expand
titleRun as

Choose which user you want to give permission to execute this post function. By default it is set to the Current user.

tip

You might want to choose the transition used to reopen the sub-task. So as soon as this transition get's executed, the parent issue will be reopened.



UI Step

Target issue

Choose Parent issue


UI Step

Mode

Choose Transition to status


UI Step

Choose Open as the status to be transitioned to.

UI Text Box
typenote

Make sure that the status can be reached by the parent issue.

If e.g. the parent issue is in status "Done", there must be a transition from "Done" to "Open" (or a global transition to "Open") in order to transition the parent issue.

If there is no transition, the parent issue won't be transitioned!



UI Step

Conditional execution

You might want to add a conditional execution so that the parent issue will only be transitioned to status "Open", if it is closed.

If it is not closed yet, it might not be transitioned back to "Open".

Enter the following expression:

Code Block
languagebash
linenumberstrue
%{parent.statusCategory} = "Done"





Image AddedScreenshots

Image Added


Image Added

After checking if the parameters match this example, you can click on add and this is how the post function should look like.

Image Removed

Now that you are familiar with this post function and what it does, you can configure the parameters based on your needs.

Related examples

Page properties report
firstcolumnUse case
headingsTypeJWT feature, Function, Use case description, ComplexityWorkflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and space ancestor = "JWTSDC"
If you still have questions regarding this example or others, feel free to refer to our support team.
27067064"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Image Added

Workflow function

Transition issue

Use case description

Automatically reopen the parent issue, if one of the sub-tasks is reopened.

Label
Complexity

 

Status
colourGreen
titlebeginner
  



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