Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width30%
Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1

Column



Features used to implement the example



Example: Set the value of a field of type "User Picker" depending on other field's value

I am looking to be able to assign an issue to a reporter or a user depending on the project name. I am using Jira Workflow Toolbox and it works great if I know the user to assign to. But how can I specify assigning to a role?

For example:

(ProjectA)user1
(ProjectB)user2

(ProjectC)reporter <-- This should assign back to the reporter if the project name is Project C

I didn't understood your question at first instance. Actually, the plugin supports nicely what you are trying to do. You only have to introduce the ID of virtual field Reporter, i.e. %{00006}

Use the following setting rules:

(ProjectA)user1
(ProjectB)user2

(ProjectC)%{00006}


Nevertheless, next version of the plugin will have support to set field of type User (including Assignee, Reporter, etc) or Multi-User with a Project Role. This was what I understood from your question at first instanceIn the last case, the field will be set to the "Reporter".



Other examples of that function

Incoming Links
pageSet a field as a function of other fields
labelsexample

Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "post-function"