I've set the code and it succesfully ran but the Security Level was not set.
I made it as a post function during creation.
It says it ran succesfully but below is the logs. The Security is set which is why I don't understand why it is not working.
issue.issueType.name == 'Review'
2017-06-19 04:19:00,622 WARN [postfunctions.SetIssueSecurity]: No security level: 10400 defined in issue security scheme for project Delivery Management - maybe deleted from scheme?
Can you check the below points as per the log;
1. Check if the user who created the record has permission to use the given security level
2. Check the secutity level scheme and confirm if it has the above given security level added.
3. Check the Project and confirm if you have mapped the security scheme properly to the project.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs