Versions Compared

Key

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


Page properties
hiddentrue
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
Short descriptionAdd or remove watchers based on field values, project roles or groups. Label UI Text Box
sizemedium
typeinfo

This post function allows users to be added or removed from the current issue's watchers list.

You can retrieve the users from either an existing fieldproject role, or group.


Configuration

UI Expand
titleMode

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

Add / remove users based on a field

If you select any of these modes, you will be presented with a dynamic selection, containing available fields (or field codes) where the user(s) should be retrieved from. 

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


Add / remove users from a project role

If you select any of these modes, 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 or removed as watchers.


Add / remove users from a group

If you select any of these modes, you will be presented with a dynamic selection, containing available groups.

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


Remove all watchers

If you select this mode, all watchers will be removed from the current issue.


UI Text Box
typeinfo

If you need to add or remove watchers from multiple groups or project roles, you need to configure additional post functions.



UI Expand
iconfalse
titleConditional execution

Include Page
DECADIS:_snip_condExecution_Server
DECADIS:_snip_condExecution_Server



UI Text Box
typeinfo

If used in the Create Issue transition, make sure that the post function is triggered after the "Creates the issue initially" post function.



Use cases and examples

Page properties report
cqllabel = "use-case" and parent = currentContent()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


Short descriptionAdd or remove watchers based on field values, project roles or groups. 
Label