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



UI Text Box
sizemedium
typeinfo

Use case

In Jira it is key feature that always the right people have the right information. To keep track of things, you can watch certain issues to not miss any updates.

In this use case we will use the Add or remove watchers post function to automatically add watchers to issues based on the issue type.


Prerequisites

The first thing we have to do is to do define which user should be added as watcher for which issue type.

Therefor we use the Update field based on rules post function:

UI Steps


UI Step

Add the Update field based on rules post function to the desired workflow transition.


UI Step

Source field

Choose Issue type


UI Step

Target field

Choose Temporary text 1


UI Step

Rules

UI Steps


UI Step

Click on Add rule

Choose Text comparison


UI Step

Keyword

Enter

Code Block
<issuetype>


UI Text Box
typetip

Replace <issuetype> with the actual issue type you want to check against.



UI Step

Value

Enter

Code Block
<username>


UI Text Box
typetip

Replace <username> with the actual username you want to add as watcher, if the above entered issue type is selected.





UI Step

Repeat the steps above for each issue type you want to check against.

The final configuration could then look something like this:

<screenshot>




Configuration

UI Steps


UI Step

Add the Add or remove watchers post function right underneath the post function we've previously created.


UI Step

Mode

Choose Add users from a field


UI Step

Field*

Choose Temporary text 1




Screenshots


Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Add or remove watchers

Parser functions
Label



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourGreen
titledone

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