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

Set security levels based on Group and Epic

Rich Wolverton January 24, 2020

We have a big implementation project that will span across the organization. 

We are planning to have an Epic for each Team.

We would like to set security levels so that each team only sees their Epic while the implementation team can see all the Epics. 

Team1 Epic  <- Team1 Group  can see only Tickets in their Epic

Team2 Epic  <- Team2 Group can see only Tickets in their Epic

Team3 Epic <- Team3 Group can see only Tickets in their Epic

All Epics and Tickets <-Project Group can see all Tickets 

Reading the documentation on Security Levels it is not clear how the setup to connect the Epic to the Security Levels would be configured.  

All guidance and suggestions appreciated. 

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Leo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2020

Hi @Rich Wolverton,

For your requirement you can construct a security scheme like below

Security Level   -- Group(s)

Team1                  Team1, Project Group

Team2                  Team2, project Group

Team3                  Team3, project group 

 

Using Scriptrunner you can apply/set security level based on Epic as a condiition

1. if you associate epic link during issue creation. you can use "Set Issue Security Level" which is one of the scriptrunner's post function

post-function --> Scriptrunner post-function --> Set Issue Security Level

this is simple but have to add more functions as many as your security levels are

2. You can also use custom script post-function to validate epic and set security level

3. If you associate epic link at anytime(in edit form after creation). then you can think about script listener to set security level

 

There will be some other add-ons also available if you search in marketplace

 

BR,

Leo

Rich Wolverton January 24, 2020

Thanks Leo. That is just what we have done. I was looking to see if there was a way to make it a little more Project centric.  Allow the Project Manager to create an EPIC of format TEAM1 Something something.... and that work the Issue Security Scheme. Right now a JIRA Admin has to do work to create groups and add security levels as a new Team is added.

Rich Wolverton January 24, 2020

Just looking to see what creative juices were out there. 

Leo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2020

In that case I would suggest to use Project Roles instead of Groups in Security scheme

which is generic to all projects. and each project admins can decide each team's members without reaching to jira admins every time

But of course, they'll have to help you out in the initial setup of project roles and in security scheme

e.g 

Roles are --> Team1/Alpha , Team2/Beta...

Security Level   -- Role

Team1                   Alpha

Team2                    Beta

etc....

 

hope this would meet your requirement 

 

BR,

Leo

TAGS
AUG Leaders

Atlassian Community Events