Versions Compared

Key

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


WIP

UI Text Box
sizemedium
typeinfo

The Add or remove watchers post function automatically adds watchers to the current, parent, selected or any issue returned by a parser expression. The list of watchers to be added or removed can be configured...

The executing user can be selected among various user fieldsYou can retrieve users from various sources such as an existing field, project role, or group.


Configuration

UI Expand
titleTarget issue

Select the issue the comment will be added toto add or remove watchers. The following options are available:

  • Current issue
  • Parent issue
  • Selected issue
  • Parser expression
UI Text Box
typeinfo

When the option parser expression is selected, an expression parser input field is displayed and the input has to be an issue key or an issue list. The comment watchers will be added or removed to every issue in the given issue list.


Hi [~accountid:%{issue.reporter}], this issue needs your immediate attention. Thanks, %{system.currentUser.displayName}
UI Expand
titleComment textMode

The mode parameter defines how you want to retrieve the users to be added or removed as watchers. The following modes are available:

OptionDescription
Add users from a field

You will be presented with a dynamic selection, containing available fields (or field codes) where the user(s) should be retrieved from. 

Enter the comment's text that will be created. You can enrich the styling of your comment by using the avaible markdowns.

UI Text Box
type
tip
info

If you

would like to mention a user, you can use a markdown like the following
Code Block
languagebash
linenumberstrue

select a text field, the output must contain a single user name or a comma separated Atlassian account IDs, group names or project role names


Add members of a project role

You will be presented with a dynamic selection, containing available project roles.

All users from the selected project role (in the current project) will be added as watchers.

Add members of a group

You will be presented with a dynamic selection, containing available groups.

All users from the selected group will be added as watchers.

Remove users from a field

You will be presented with a dynamic selection, containing available fields (or field codes) where the user(s) should be retrieved from. 

UI Text Box
typeinfo
The length of the comment's text is restricted to 5000 characters

If you select a text field, the output must contain a single user name or a comma separated list of user names, group names or project role names


Remove members of a project role

You will be presented with a dynamic selection, containing available project roles.

All users from the selected project role (in the current project) will be removed as watchers.

Remove members of a group

You will be presented with a dynamic selection, containing available groups.

All users from the selected group will be removed as watchers.

Remove all watchersCheck this option to remove all watchers from the current issue.



UI Expand
titleComment authorRun as

Include Page
DECADIS:_snip_runAs_Cloud
DECADIS:_snip_runAs_Cloud

UI Text Box
typenote

The configured user must have all necessary permissions to create the comment add or remove watchers in the target issue.

UI Expand
titleComment visibility

Select the comment visibility.

  • Unrestricted (all users)
  • Restricted to Project Role
  • Restricted to Group
UI Text Box
typenote

If the comment should be restricted, the configured comment auther must be a member of the configured role or group.




UI Expand
titleConditional execution

Include Page
DECADIS:_snip_condExecution_Cloud
DECADIS:_snip_condExecution_Cloud



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Use case description, Complexity
sortByTitle
cqllabel = "use-case" and space = currentSpace() and ancestor = "38569490"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue