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



  or priority.

UI Text Box
sizemedium
typeinfo

Use case

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

Status
colourRed
titlehigh
Status
colourRed
titlehighest
Page properties
hiddentrue
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

great way to let users know what is going on and what the latest updates are.

But they perfectly fit for reminding users of doing something!

In this use case we will use the Add comment post function to automatically add a comment to the current issue and notifying the assignee to take action.



Image Added Configuration

UI Steps


UI Step

Add the Add comment post function to the workflow transition you want to place it in.

Basic configuration*

ui-steps


UI Step

Comment text

*

Choose Add comment manually (parser expression).


UI Step

Expression

*

Code Block
linenumberstrue
Hi [~%{issue.assignee}],
this issue needs your attention. Please provide feedback as soon as possible!
  
Thanks,
%{system.currentUserFullName}



step
ui-step

Further configuration

ui-expand
titleComment visibility

By default it is set to Unrestricted (all users), but you can change this option.

You can select either a group, project role or set Jira Service Management visibilities.


UI Expand
titleAdditional options
Send email notification

By default, no email will be sent for this comment. Hit the checkbox to send one!


ui-
Expand
titleRun as

Include Page
DECADIS:_snip_runAs_Server_postFunction
DECADIS:_snip_runAs_Server_postFunction



titleexpandtitle
UI Step
UI Expand
expandedtrue

Conditional execution

Enter the following expression: 

Code Block
linenumberstrue
%{
00017
issue.priority} in ["High","Highest"]


ui-text-
box
type
Run as

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

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

info

This way the post function will only be executed, if the issue priority was set to High or Highest.





Image AddedScreenshots

Image Added


Image Added Related use cases

Image Removed 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 = "JWTSDCcurrentSpace() and ancestor = "27066635"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Image Added

Workflow function

Add comment

Parser functions
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