JIRA components permissions

Hello!

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
Joe 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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

851 views 5 18
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot