Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JIRA 7 Administration Cookbook

You're reading from   JIRA 7 Administration Cookbook Over 80 hands-on recipes to help you efficiently administer, customize, and extend your JIRA 7 implementation

Arrow left icon
Product type Paperback
Published in May 2016
Publisher
ISBN-13 9781785888441
Length 264 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Patrick Li Patrick Li
Author Profile Icon Patrick Li
Patrick Li
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. JIRA Server Administration 2. Customizing JIRA for Your Projects FREE CHAPTER 3. JIRA Workflows 4. User Management 5. JIRA Security 6. E-mails and Notifications 7. Integrations with JIRA 8. JIRA Troubleshooting 9. JIRA Service Desk

Restricting access to projects based on reporter permissions


As we have seen in one of the previous recipes, the Browse Projects permission controls who can access a project in JIRA. In this recipe, we will set up permissions so that users can only see projects they can create issues in, and not the projects in which they cannot.

Getting ready

Since we will be making direct changes to a JIRA system file, make sure you create backups for any modified files. This recipe will also require a restart of JIRA, so plan this during a time slot that will not affect your users.

How to do it...

To restrict access to projects based on who can or cannot report criterion, you first need to enable a special permission type as follows:

  1. Open the permission-types.xml file from the JIRA_INSTALL/atlassian-jira/WEB-INF/classes directory in a text editor.

  2. Locate the following lines, and uncomment the reportercreate permission type as follows:

            <!-- Uncomment & use this permission to show only projects...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image