The Help Desk project

In the previous chapters, you have configured your JIRA to capture data with customized screens and fields, and processed the captured data through workflows. What you need to do now is secure the data you have gathered to make sure that only the authorized users can access and manipulate issues.

Since your Help Desk Project is used by your internal team, what you really need to do is to put enough permission around your issues to ensure the data they hold do not get modified by other users, usually by mistake. This allows us to mitigate human errors by handling access accordingly.

To achieve this, you need to have the following requirements:

  • You need to be able to tell who belongs to the help desk team
  • Restrict issue assign operations to only the user that has submitted the ticket and members of the help desk team
  • Not to allow tickets to be moved to other projects
  • Limit the assignee of tickets to the reporter and members of the help desk team

Of course, there are a lot of other permissions we can apply here; the preceding four requirements will be a good starting point for us to build on further.

Setting up groups

The first thing you need to do is to set up a new group for your help desk team members. This will help you distinguish normal JIRA users from your help desk staff:

  1. Browse to the Group Browser page.
  2. Name the new group help-desk-team in the Add Group section.
  3. Click on the Add Group button.

You can create more groups for other teams and departments, for your scenario here. Since anyone can log a ticket in your project, there is no need to make that distinction.

Setting up user group association

With your group set up, you can start assigning members of your team to the new group:

  1. Browse to the Group Browser page.
  2. Click on the Edit Members link for the help-desk-team group.
  3. Select users with the user picker or simply type in the usernames separated with a comma. This time, let's add our admin user to the group.
  4. Click on the Join button.

Setting up permission schemes

The next step is to set up permissions for our Help Desk project, so you need to have your own permission scheme. As always, it is more efficient to copy the Default Permission Scheme as a baseline and make your modifications on top, since we are only making a few changes here:

  1. Browse to the Permission Schemes pages.
  2. Click on the Copy link for Default Permission Scheme.
  3. Click on the Edit link for the new copy of Default Permission Scheme created.
  4. Name the new permission scheme Help Desk Permission Scheme.
  5. Change the description to Permission scheme designed for Help Desk team projects.

Now we have our base permission scheme setup, we can start on the fun part, interpreting requirements and implementing them in JIRA.

Setting up permissions

The first thing you need to do when you start to set up permissions is try to match up existing JIRA permissions to your requirements. In our case, we want to restrict the following:

  • Who can assign issues?
  • Who can be assigned to an issue?
  • Disable issues from being moved

Looking at the existing list of JIRA permissions, you can see that we can match up the requirements with the Assign Issues, Assignable Users, and Move Issues permissions respectively.

Once you have worked out what permissions you need to modify, the next step is to work out a strategy to specify the users that should be given the permissions. Restricting move issue options is simple. All you have to do is remove the permission from everyone, thus effectively preventing anyone from moving issues in your project.

The next two requirements are similar, as they are both granted to the reporter (user that submitted the ticket), and our new help-desk-team group:

  1. Browse to the Permission Schemes pages.
  2. Click on the Permissions link for Help Desk Permission Scheme.
  3. Click on the Grant permission link.
  4. Select both Assign Users and Assignable Users permissions.
  5. Select the Reporter option.
  6. Click on the Add button.
  7. Repeat the steps and grant the help-desk-team group both permissions.

By selecting both the permissions in one go, you have quickly granted multiple permissions to users. Now, you need to remove all the users granted with the Move Issues permission. There should be only one granted at the moment, Project Role (Developer), but if you have more than one granted, you will need to remove all of them:

  1. Browse to the Permission Schemes page.
  2. Click on the Permissions link for Help Desk Permission Scheme.
  3. Click on the Delete link for all the users that have been granted Move Issues permission.

That's it! You have addressed all of our permission requirements with just a few clicks.

Putting it together

Last but not least, you can now put on our project administrator's hat and apply your new permission scheme to your Help Desk project:

  1. Browse to the Project Administration page for your Help Desk project.
  2. Click on the Select link for Permission Scheme.
  3. Select Help Desk Permission Scheme.
  4. Click on the Associate button.

By associating the permission scheme with our project, you have applied all of your permission changes. Now if you create a new issue or edit an existing issue, you will notice that the list of assignees will no longer include all the users in JIRA.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset