🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

On this page

Features used to implement the example

Example: Assign issue to current user if the user is not member of a certain project role

I need to create a post-function to assign the issue to the current user only when the user is not member of a particular project role.
Is it possible?

You have to use Set a field as a function of other fields post-function with the following configuration:

Setting rule used is:

[!isInRole(%{00020}, "name_of_project_role")]%{00020}

Note that:

  • %{00020} is field code for "Current user"
  • Value selected for parameter "Field to be checked..." is irrelevant, since we only used a type 2 setting rule

Once configured, transition will look like this:

Other examples of that function