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 you can easily use custom fields - e.g. select lists - to specify further information regarding any issues.

In this use case we are going to set a watcher based on the selected value in a custom select list.


Prerequisites

UI Expand
titleSet up the custom field


UI Text Box
typeinfo

If you don't have a custom select list field yet, you might want to create one.


UI Steps


UI Step

Head over to Custom fields in the Jira Administration → Issues.


UI Step

Create a new custom field of type Select list (single choice).


UI Step

Add some options to the custom field, e.g.:

  • Sales
  • Marketing
  • Development
  • HR




UI Text Box
typenote

If the custom field is set up, we also have to add the Update field based on rules post function.


UI Steps


UI Step

Add the Update field based on rules post function to a workflow transition that fits best for you.

UI Text Box
typetip

 The Create transition might be a perfect spot, so that the watchers get added right after creating the issue.



UI Step

Source field

Choose the previously created select list field.


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


UI Text Box
typetip

Replace <option> with the actual option name from the select list.



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 option is selected.





UI Step

Repeat the steps above for each option in the select list.

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
titledone
better to directly add the watcher using the "new watcher" field?

Style guide

Status
colourGreen
titledone

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