-
Bug
-
Resolution: Invalid
-
Low
-
15
-
Severity 3 - Minor
-
0
-
Summary
Transition's post-function "Set issue security level based on user's project role" is no longer working when creating an issue. The security level for new issues is always set as default, regardless of the post-function configuration.
Steps to Reproduce
- Add two users to JIRA. For example: User A, User B
- Create a project
- In the project's People add User A to project role Administrators, and add User B to project role Developers
- Create a issue security scheme (i.e. Test Security Scheme) with following security levels:
-
- Level C (Default)
-
- Level D
- Associate this issue security scheme with the project
- Edit the project's workflow and add the following post-functions to Create Issue transition using the post-function Set issue security level based on user's project role:
-
- If user is a member of the Developers role, set issue security level to Level D (Test Security Scheme).
-
- If user is a member of the Administrators role, set issue security level to Level C (Test Security Scheme).
- Publish the workflow
- Log in as User A (Administrators) and create an issue in the project. For example Test Issue A
- Log in as User B (Developers) and create another issue. For example Test Issue B
Expected Results
- The security level for Test Issue A be set as Level C (as per post-function)
- The security level for Test Issue B be set as Level D (as per post-function)
Actual Results
- The security level for both Test Issue A and Test Issue B are set as Level C
Workaround (updated)
Refer to Resolution 2 or Resolution 3:
Alternative:
- Edit the project's workflow and add the post-functions to the Create Issue transition using the post-function Set issue security level based on user's project role
- Move the set issue security level to based on user's project role field post function to be on top (step 1) of 'Create Issue Post function'
- duplicates
-
JRACLOUD-74969 Post-function "Set issue security level based on user's project role" doesn't work on Issue Created transition
-
- Closed
-