
Hi,
a colleague asked me to create a workflow in which there is an initial status which should be visible only to her, not to the other users defined in the project workflow.
So I searched for a solution and I finally read some KBs speaking about post functions script working with security permissions.
We have script runner as plugin, so I defined a post function after the initial "issue create" as suggested in one post (you can see the code in the attachment), in order to make the initial state only visible to users belonging to a Group ("analisti" is the name of the Group), but this is not working as expected.
Infact a user which should not be able to see the issues created, is instead able to see them.
Where am I wrong?
Have you any suggestions to share with me?
Thanks in advance.
Best regards
Marco