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

Within Jira you can specify that the project lead should be automatically assigned to an issue if the assignee is not set.

But sometimes you might don't want the project lead to be the default assignee but another Jira user.

In the following use case, the assignee will be set to a specific user, if the assignee field was left empty on issue creation.


Prerequisites

UI Expand
titleSet up the project property

In order to get the value of the project property later on in the post function, the property has first to be created.

UI Steps


UI Step

Head over to the project you want to create the project property in.


UI Step

Head over to Project settings → Details


UI Step

Add the following text to the project description:

Code Block
linenumberstrue
{defaultAssignee=<username>}


UI Text Box
typeinfo

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





Configuration

UI Steps


UI Step

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

UI Text Box
typetip

The create transition might be the best place, though. If added there, the assignee will automatically be set as soon as an issue is created.



UI Step

Project

Choose Current project


UI Step

Property key

Enter

Code Block
linenumberstrue
defaultAssignee



UI Step

Target field

Choose Assignee


UI Step

Conditional execution

Enter the following parser expression:

Code Block
languagebash
linenumberstrue
%{issue.assignee} = null

This way, the default assignee will only be set, if the assignee field is empty on issue creation.




Screenshots



Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Copy JWT project property

Label



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titledone

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