Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

First create a project "SUPPORT". This is a project where different customers will be handled.

Image RemovedImage Added

Creating Custom Fields

On the administration home page click "Custom Fields".

Image RemovedImage Added

Then click "Add Custom Field".

...

After selecting "Zones Picker" proceed by clicking "next" in order to create a new Custom Field with the type "Zones Picker". Name it "Customer" in the Field Name box.

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added

Associate the new field to screens and click "Update".

Image RemovedImage Added

Add another Custom Field by repeating the process described before (click "Add Custom Field" etc.).

Choose "Zones User Picker" as field type for this new Custom Field and name it "Responsible User".

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added

Click "Finish", associate the field to screens and click "Add Custom Field" again.

Create a new Custom Field with the type "Zones Multi User Picker" and name it "Users to inform".

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added

After this associating procedure you have successfully created 3 new Custom Fields.

Image RemovedImage Added

Configuring the ZoneField

Now configure the ZoneField "Customer". In the "Plugin" menu choose the option "Zones configuration" within the category "Zones Plugin".

Image RemovedImage Added

First edit Role Mapping and Permissions by clicking the "Edit Zone Roles and Permissions" option for our previously created ZoneField.

Image RemovedImage Added

As you can see, each ZoneField contains different ZoneRoles:

...

Image RemovedImage Added

Do not forget to click the "Save" Button!

Then edit the actual Zones and Membership

Image RemovedImage Added

Image RemovedImage Added

The Celix Zones Plugins provides you with two different alternatives for handling Zones and Membership:

...

This guide assumes that you do the configuration in the "user management mode"; if you are currently in "group management mode", please switch to "user management mode" manually.

Image RemovedImage Added

Now add a Zone for customer A: choose a name for the Zone and define its Administrators and Users.

Image RemovedImage Added

Analogously create Zones for customers B and C:

Image RemovedImage Added

The ZoneField is configured completely now.

...

Find the custom field "Responsible User" and click "Configure" to the right.

Image RemovedImage Added

Now define that "Responsible Users" shall display the users of the zones of our ZoneField "Customer" (click "Edit depends on Custom Field" to the right)

Image RemovedImage Added

Image RemovedImage Added

Similarly define that all users (i.e. all "Administrators" and all "Users") from the Zone shall be displayed in the "Responsible User" custom field. You do this by using the option "Edit Role Restriction".

Image RemovedImage Added

The same configuration is used for the "Zones Multiple User Selection" Custom Field named "Users to inform".

...

After clicking "Exit Administration" create an issue in the SUPPORT Project.

Image RemovedImage Added

As you are logged in as user with the JIRA Project Role "Administrator", you can see all Zones and customers.

Image RemovedImage Added

If you change the selection of the Customer Field to "Customer C", all depending fields get updated to show users within the zone "Customer C" only.

Image RemovedImage Added

To illustrate the "Role Restriction" feature of the Zone user pickers you now change the "Role Restriction" configuration of the custom field "Responsible Users" to the ZoneRole "Administrator".

Image RemovedImage Added

Checking the issue screen again you will see that the field "Responsible Users" only lists users in the ZoneRole "Administrators".

Image RemovedImage Added

If you add another user to the "Administrator" ZoneRole it will be displayed immediately.

Image RemovedImage Added

Now change to another user.

Image RemovedImage Added

Based on the previously configured permissions (the project role "Users" is only allowed to see its own Zones), this user can indeed only see his own Zone (simply create an issue to see the field in action):

Image RemovedImage Added

Once the issue is created, "Customer A User 3" will not be allowed to edit the field at all (since you configured that the project role "Users" is not allowed to edit the ZoneField).

After checking the features of the Custom Fields the issue looks like the following:

Image RemovedImage Added

Jira Groups

The ZonesPlugin automatically creates JIRA groups that correspond to Zones and ZoneRoles (if you operate in "group management mode", the ZonesPlugin will not create any groups, you have to create them and map them to the corresponding Zones manually).

...

Select projects and choose SUPPORT in the administration home page.

Image RemovedImage Added

(If the Support Project is not listed here you find it by clicking "All 1 projects")

Then switch to the "Zones"-panel and enable the "Customer"-Zone Field.

Image RemovedImage Added

The blue box above indicates that there are three groups ("jira-users", "jira-developers", "jira-administrators") which are not managed by the Zones Plugin, but which are still present in the project roles. In more complex configurations please check that these "unmanaged groups" are configured correctly (in this example they are indeed).

After switching to the people-panel you can observe that the Zones Plugin has mapped the created groups to the corresponding projects roles automatically (according to our previous configuration of the "Zone Roles and Permissions").

Image RemovedImage Added

Issue Security Scheme

...

To do this select "Issue security schemes" on the "Administration"-home page and then proceed by clicking "Add Issue Security Scheme")

Image RemovedImage Added

Image RemovedImage Added

Name the new scheme "Support Issue Security Scheme".

Image RemovedImage Added

Then add a security level named "Customer".

Image RemovedImage Added

Image RemovedImage Added

All users in Zones are allowed to view issues belonging to their own Zone.

Image RemovedImage Added

Image RemovedImage Added

Now configure the access for customers - you still have to allow internal users to access all issues. Since you assumed that all users are in the project role "Administrators" you can additionally grant access to all users in the Administrator project role.

Image RemovedImage Added

Image RemovedImage Added

If you want all future issues to be created with this security level, just set it as default level.

Image RemovedImage Added

Then configure the project "SUPPORT" to use the new Issue Security Scheme.

Image RemovedImage Added

Image RemovedImage Added

Do not forget to associate the previously created issue to the new security level:

Image RemovedImage Added

Image RemovedImage Added

Final check: Watching as a user from Zone "Customer BBB" you will not see the issue.

Image Removed

 Image Added

On the other hand, watching as user from Zone "Customer AAA" (or using one of the internal users) you will see the issue.

Image RemovedImage Added