Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Set up access permission based on request type for agents

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?

Thanks!

2 answers

0 votes
Mike Rathwell Community Leader May 30, 2018

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.

 https://confluence.atlassian.com/adminjiraserver073/configuring-issue-level-security-861253265.html

Hi Mile, this guide does say how to setup a security level on the issue if the agent is the person creating the issue. But what I need is customer creates the request for a certain request type and then the request will automatically go to a certain agent. .

Mike Rathwell Community Leader May 30, 2018

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.

Anyuw,

Have you tried using components? 

Victor

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

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 ...

3,881 views 11 5
Join discussion

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you