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 custom fields, project roles or groups. Label
Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorPipe

Image Removed


UI Text Box
sizemedium
typeinfo

The Add or remove watchers post This post function allows users to be added or removed from the current issue's watchers list. This post function uses fields, user groups, or project roles user selection tools.

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


Image AddedConfiguration

trueDefine the content of the comment by selecting one of the following modes:
UI Expand
expanded
Basic configuration
titleMode

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

OptionDescription
*
Info
iconfalse
Add users from a field
  • Add users from a project role
  • Add users from

    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

    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 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.

    a group

    Remove users from a field
  • Remove users from a project role
  • Remove users from a group
  • Remove all watchers
  • Group*

    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

    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 Text Box
    typeinfo

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

    Info
    iconfalse

    Select the group containing the users.



    UI Expand
    iconfalse
    titleConditional execution

    Include Page
    DECADIS:_snip_condExecution_Server
    DECADIS:_snip_condExecution_Server

    Enter a condition (Logical/boolean condition) using the JWT expression parser functions syntax.

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


    UI Text Box
    typenote

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

    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.



    Image AddedUse cases and examples

    Page properties report
    firstcolumnUse case
    headingsJWT feature, Workflow function, Parser functions, Label
    cqllabel = "use-case-workflow" and ancestor = currentContent()


    Excerpt Include
    DECADIS:Contact support
    DECADIS:Contact support
    nopaneltrue


    Page properties
    hiddentrue


    Tech review

    Status
    colourGreen
    titledone

    Style guide

    Status
    colourGreen
    titledone

    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