[Includes] Post-Function - Run As User

Select which user account will be used when running the post-function.

  • Run as user

    • Current user - The user who triggered the transition.

    • Specific user - Select a specific user account to execute the post-function.

    • User in field - Select a User Picker field or other custom field containing user values.

    • User from script - Enter a Groovy script that returns a user ID.
      Examples:

      • "jdoe" - To use a static value username.

      • issue.get("assignee") - To return the current issue's Assignee.

Note: Prior to JMWE 8.4.0, this configuration stores a username value. If an Administrator changes a user’s username, the post-function will fail.

Existing post-functions created before version 8.4.0 should be updated; open the post-function for editing and save it (no changes are necessary). This will update the configuration to use the immutable user ID value.

New post-functions do not need to be updated.