Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

The Assign to Project Role post function assigns an issue to a user in a project role. In case there is more than one user with the project role, you can set a user as default for a project role in a project.

You can use this functionality with every post-function in the plugin that allows you to write on any field of type User or Multi-User.


Configuration

UI Expand
titleProject role

Select the project role the user should retrieve from.

You can choose between every available project role within your Jira.


UI Text Box
typenote

If you select a project role that is not available in the current project, the issue won't be reassigned.



UI Expand
titleAssignee

Select the option to define the user who will be assigned to the issue.

Choose between:

  • Default user for project role
  • Default user for project role, except if current assignee is already in project role
  • Last user in project who has had the issue assigned
  • Last user in project role who has had the issue assigned, or lacking that to default user for project role
  • Previous user in project role who has had the issue assigned
  • Previous user in project role who has had the issue assigned, or lacking that to default user for project role
  • Random user among those in project role, except if current assignee is already in project role
  • Random user among those in project role different from current assignee
  • Least busy user om project role
  • Least busy user in project role, except if current assignee is already in project role
  • Next user in selected and project role according to round-robin algorithm
  • Next user in selected and project role according to round-robin algorithm, except if current assignee is already in project role



UI Text Box
typeinfo

When selecting one of the "Least busy user" options you have the possibility to additionally enter a JQL parser expression.

You can use this expression to further customize the way how the least busy user should be received.When no JQL is provided, it will be searched for issues assigned to a user in the selected project role that have an empty resolution.

You could e.g. restrict the search to the current project by entering:

Code Block
languagebash
linenumberstrue
project = %{issue.project.key}

or to a specific issue type:

Code Block
languagebash
linenumberstrue
type in ("Bug", "Feature", "Improvement")




UI Expand
iconfalse
titleConditional execution

Include Page
DECADIS:_snip_condExecution_Server
DECADIS:_snip_condExecution_Server


UI Expand
iconfalse
titleRun as

Choose which user* will be used to execute this post function. By default it is set to the Current user.



Use cases and examples

Page properties report
cqllabel = "use-case" and parent = currentContent()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourYellow
titleReady for review

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


Page properties
hiddentrue


Short descriptionAssign the issue to default user for a certain project role, or last assigned user in a project role.
Label




...