---
title: "Set Issue Security Level"
canonical: "https://support.appfire.com/space/JMWEC/1126432847/Set%20Issue%20Security%20Level"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> 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).

> ⚠️ **Warning**: JMWE cannot take any actions or make any changes to an issue that has a Security Level to which the JMWE Addon user does not have permissions. This includes, but is not limited to, setting the Security Level of an issue. Additionally, if the **Set Issue Security Level** post function is used to change an issue’s Security Level to a level at which JMWE does not have permissions, it creates a scenario where JMWE cannot make any changes.

![JMWE for Jira Cloud set issue security level post function configuration](media://87a7792f-dde7-47b0-9446-3e0629877a89)

**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](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=mwecs&title=Adding%20post%20functions%20to%20transitions&linkCreation=true&fromPageId=1126793316).