Set Issue Security Level

A workflow post-function that sets the Security Level of the current issue based on the project role to which the current user belongs.

When you add this post-function to a transition and trigger the transition, the add-on sets the selected issue security level on the current issue, if and only if the current user belongs to the selected project role.

This function can be used on the Create transition to set a different issue security level depending on whether the issue is being created by an internal user or by an external user (e.g. a customer).

To add the 'Set Issue Security Level' post function to a transition: 

  1. Click Edit for the workflow that has the transition you wish to add the post function to.

  2. Select the transition in the Workflow Designer.

  3. Click Post Functions in the properties panel (or select the Post Functions tab).

  4. Click Add post function.

  5. Select Set Issue Security Level from the list of post functions.

  6. Click Add. The Set Issue Security Level post function screen will open, where you can configure the post function as needed. See below for more information.

  7. Click Add to complete the configuration and add the post function to the transition.

After adding, move the post function to the appropriate position according to Placing post functions in a transition.

Configuration options

  • Project Role - Select the Project Role to which the user who triggers the transition must belong; if the user belongs to that Project Role, the issue will be set to the selected security level.

  • Issue Security Level - Select the security level for the issue.

Advanced options

Expand this section to see advanced configurations including which user will run the post function, conditional execution, and delayed execution.

Conditional execution

Check Run this post-function only if a condition is verified to execute this post function based on the result of a Nunjucks template; see Conditional execution.

Delayed execution

You are viewing the documentation for Jira Cloud.

 

postFunction-SetIssueSecurityLevel.png
Figure 1 - Set Issue Security Level

Â