Versions Compared

Key

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


Page properties
hiddentrue


Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Page status

Status
colourGreen
titlecomplete

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



Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

User properties within Jira can be used to store additional information on a per-user basis.

In the following use case, user properties will be used to store Jira users as supervisor for other users. If an issue needs to be escalated, the issue will be assigned to the current assignee's supervisor.


Prerequisites

UI Expand
titleSet up the user property

If not already done so, the user properties have to specified where needed.

As example we're going to set the user property for one user:


UI Steps


UI Step

Head over to the Jira Administration → Users


UI Step

Click on the name of a user.


UI Step

In the upper right corner open the dropdown menu Actions and select Edit Properties


UI Step

Add the following property:

Key

Code Block
supervisor


Value

Code Block
<username>


UI Text Box
typeinfo

Replace <username> with the actual username you want to set as supervisor.






Configuration

UI Steps


UI Step

Add the Copy JWT user property post function to the desired transition or create a new one.


UI Step

User

Choose Assignee


UI Step

Property key

Enter

Code Block
supervisor



UI Step

Target field

Choose Assignee


UI Step

Conditional execution

Enter the following parser expression:

Code Block
languagebash
linenumberstrue
%{issue.assignee} != null and userProperty("supervisor", %{issue.assignee}) != null

This expression guarantees, that the assignee will only be updated, if there is an assignee set which also has a supervisor.




Screenshots


Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Copy JWT user property

Parser functionsuserProperty()
Label

Status
colourRed
titlestaff pick