Effective in April 2020 JWT for Jira Cloud will become a commercial app. Read the full details here.

On this page

Introduction

The Add comment post function automatically creates a comment in the current, parent or any issue returned by a parser expression. The comment text can be composed of free text in combination with various fields using their field codes.

The comment author can be selected among various user fields and the visibility can be restricted by project role or by user group.



The configuration

The table below lists all available parameters that have to (*) or optionally can be set in this post function.


ParameterDescription
Target issue*

Select the issue the comment will be added to. The following options are available:

  • Current issue
  • Parent issue
  • Parser expression ((info) the input has to be an issue key)
Comment text*Enter plain text and optionally use field codes, e.g. %{issue.summary}, to insert field values. 
Comment author*

Select the user that will be used to execute the post function. Select the user from one of the following options:

  • Current user
  • Selected user
    • Select a specific Jira user
  • Assignee
  • Reporter
  • Creator
  • Project lead
  • Parent's assignee
  • Parent's reporter
  • Parent's creator
Comment visibility*

Select the comment visibility. When using restrictions, the comment author has to be a member of the selected project role or group.

  • Unrestricted (all users)
  • Restricted to Project Role
  • Restricted to Group
Conditional execution

Enter a condition (a logical expression) using the expression parser syntax. 

You can even logically link and nest conditions in expressions as you like in order to map more complex conditions. 

(warning) The post function will only be executed if the condition is met (returns true.).

Get started

Get started by trying out the example configurations provided out of the box.



The following example configurations are currently available:


Additional use cases can be found here!


Use cases and examples using this condition