JIRA components permissions


We have one project. In the project has Component = CRM. How to make that person saw only issues with this component and other issues - not.


Thank you in advance

1 answer

1 accepted

2 votes
Accepted answer
Joseph Pitt Community Champion Nov 08, 2016

You would have to apply a issue security scheme to the issue. If you have scripting you may be able to do it that way when the component is selected.

A separate issue type with a restrictions cannot be?

No, project permissions are done at that project level.  A user can either see all the issues in the project, or they see none of it.

The only lower layer is "issue security".  This lets you set a "level" on each individual issue which can restrict its visibility to a sub-set of people with project permissions.

It's done on an issue by issue basis with a single "security level" field, not by component or issue type or anything else.  This is why Joe mentions scripting - you could write a script that does things like "if component = CRM, set security level X"

In Script Runner, or Post Function? 

Post-function.  I mentioned script runner because it gives you the ability to write post-functions directly in JIRA, rather than having to write your own add-on to provide the post-function you need.

good day,
interested in exactrly the same issue resolution:

all tasks with [Component] = "Import"

_visible_ only to [User group] = "Import_department"

if anyone could help HOW TO set this up - in coding or post function or whatever - that can actually DO IT - would kindly appreciate. (freelance coders also interest) - or any suggestions where to find the solution...

thank you in advance

First, set up a issue security scheme that does what you need (one level for "import", with a rule "only group import_department")

Second, use the ScriptRunner built-in script (see https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_set_issue_security ).  That wasn't built in until recently.

thank you! will try and report.

Seems the ScriptRunner for Jira Cloud didn't have "Set issue security" built-in function. Can you suggest, please, what we can do in this case?


thank you in advance

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

22 views 2 1
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you