I want to setup access permission based on the request type for different agents. Right now, the security is setup on project level - this means, all agents have the same access to all requests created for that project.
In my example, John and Jane are agents for Project ABC, and Project ABC has three request types - ab, cd, ef; Sarah is the agent for Project DEF, and Project DEF has 2 request types - ac, bd. Questions are:
1. How to give Sarah access to request type ab for Project ABC?
2. How to restrict John to only see request type cd for Project ABC?
I think the easiest way to do this would be with security levels. We use this regularly here for JUST this case. Additionally, this provides the granularity to allow previously visible issue types to be migrated to another to restrict access later if need be.
Ah... yes... I didn't read the OTHER bit...
There are actually two things at play there. The security levels (which are not just security; can be used for more granular access to issues in a variety of projects) can do the bit where Sarah can only see ab in ABC while John can see cd in ABC. The security level can be set as part of a post function (including on create).
The OTHER bit (as I read it but do correct me if I am wrong) is to ASSIGN ab to Sarah and cd to John. If you haven't added it yet, I highly recommend adding Jira Misc Workflow Extensions plugin to your instance. That would provide easy to use post functions that, on create could check for the issue type (probably a simple groovy script) and set the assignee based on its results.
That would give you the two legged thing you're looking for: Restricting access to issue types based on who should see what AND assigning certain issue types to specific humans.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event