6. Configuring Work Items

Work Items are essentially the focal point of nearly everything that goes on in Polarion. There is of course no single definition or configuration of Work Items that would be applicable to all needs everywhere, so Polarion provides the possibility to do many Work Item related customizations.

The major categories of Work Item configuration/customization are:

6.1. Configuring Time Points

A Time Point is essentially a named milestone that has a date when it occurs. For example, you might have a Time Point named "Beta 1" that falls on some date prior to the actual end date of the project. Work Items can be associated with a Time Point so that the developers can quickly understand where a Work Item fits in the larger time picture. Time Points also appear in the project Live Plan so that managers and others can see what items are planned to each one.

This configuration is available only in the Project scope, as they only apply to projects and not to all projects globally.

6.1.1. Creating a New Time Point

To create a new Time Point:

  1. Log in with administrative rights for the Project you want to configure.

  2. Enter the Administration perspective.

  3. Navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Time Points. (Note that this item only appears in the portlet when a Project is selected in the Projects portlet. It is hidden if a Project Group or Repository is selected there.)

    A table appears in the top portion of the Working Area listing all Time Points currently defined for the Project (if any). The Detail pane shows the properties of the current selection in the table.

  5. In the Working Area toolbar, click the Create New Time Point button. A form appears in which you can specify the properties of the new Time Point.

  6. Fill in the properties of the new Time Point and click the Create button to create it.

6.1.2. Editing an Existing Time Point

You may wish to edit the properties of an existing Time Point, to extend the Due Date or mark the Time Point closed, for example.

To edit an existing Time Point:

  1. Navigate to the Project and select the Time Point in the Time Points table as described in Creating a New Time Point.

  2. In the Time Point detail pane, click the Edit button. The data in the Detail pane becomes editable.

  3. Change the properties as desired. (You can edit all except ID.)

  4. Click the Save button to save your changes.

6.1.2.1. Deleting a Time Point

You can only delete a Time Point if no Work Items are associated with it in their Time Point field.

A button labeled Delete button appears beside the Edit button described above. If any Work Items are associated with the Time Point, the Delete button is disabled and you cannot delete the Time Point.

If there were ever actually a reason to delete a Time Point after Work Items are associated (and this seems unlikely), you would need to execute a query to locate all the affected Work Items, and then use Bulk Edit to remove the Time Point setting from all of them. You could then return to the Administration perspective, select the Time Point as has been described, and delete it by clicking the Delete button which should then be enabled.

6.2. Configuring Categories

By default, Work Items have a field called Categories. By assigning a Work Item to one or more Categories, you add yet another parameter for queries, reporting, and dashboards.

Categories are purely arbitrary- you can define any scheme that's appropriate to your needs. For example, your might define a User Interface or Look & Feelcategory for all Work Items that relate to your application's user interface. You would then be able to query for this Category, and dashboards will be able to report information such as unresolved items for the Category.

In order for Work Items to be assigned to Categories, you must first define Categories. This configuration is available only in the Project scope, as Categories only apply to individual projects and not to all projects globally.

6.2.1. Creating a New Category

To create a new Category:

  1. Log in with administrative rights for the Project you want to configure.

  2. Enter the Administration perspective.

  3. Navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Categories. (Note that this item only appears in the portlet when a Project is selected in the Projects portlet. It is hidden if a Project Group or Repository is selected there.)

    A table appears in the top portion of the Working Area listing all Categories currently defined for the Project (if any). The Detail pane shows the properties of the current selection in the table.

  5. In the Working Area toolbar, click the Create New Category button. A form appears in which you can specify the properties of the new Category.

  6. Fill in the properties of the new Category and click the Create button to create it.

6.2.2. Editing an Existing Category

You may wish to edit the properties of an existing Category, to expand the description or make the name more descriptive, for example.

To edit an existing Time Point:

  1. Navigate to the Project and select the Category in the Categories table as described in Creating a New Category.

  2. In the Category's detail pane, click the Edit button. The data in the Detail pane becomes editable.

  3. Change the properties as desired. (You can edit all except ID.)

  4. Click the Save button to save your changes.

6.2.2.1. Deleting a Category

You can only delete a Category if no Work Items are associated with it in their Categories field.

A button labeled Delete button appears beside the Edit button described above. If any Work Items are associated with the Category, the Delete button is disabled and you cannot delete the Category.

If there were ever actually a reason to delete a Time Point after Work Items are associated (and this should happen very rarely if ever), you would need to execute a query to locate all the affected Work Items, and then use Bulk Edit to remove the particular Category from all of them. You could then return to the Administration perspective, select the Category as has already been described, and delete it by clicking the Delete button which should then be enabled.

6.3. Configuring Custom Fields

In addition to the standard Work Item fields, you can configure custom fields of different types (for information on supported types see Polarion Reference: Administration Reference: Custom Field Types. Custom fields can serve as a parameter for queries, providing an additional way to search for subsets of Work Items. You can define custom fields globally for all Projects, or for a specific Project. Within each scope, you can define custom fields that apply to all Work Items in the selected scope, or to one particular type of Work Item.

If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration is specified in one of several possible configuration files, depending on whether you are defining custom fields applicable to all Work Items, or to a specific type of Work Item:

Table 1.1. Custom fields configuration files

File nameApplies to
custom-fields.xmlAll Work Item types defined for the current scope
task-custom-fields.xmlTask (assuming this type is defined for the current scope)
changerequest-custom-fields.xmlChange Request (assuming this type is defined for the current scope)
requirement-custom-fields.xmlRequirement (assuming this type is defined for the current scope)
defect-custom-fields.xmlDefect (assuming this type is defined for the current scope)
test-custom-fields.xmlTest (assuming this type is defined for the current scope)

NOTE

Work Item types are defined by an enumeration configuration for each scope. Not every type cited above necessarily appears in every project or repository. For more information see Configuring Enumerations

6.3.1. Understanding the different configuration files

You need to understand that initially, there is only one configuration file for custom fields: the custom-fields.xml file in the global (repository) scope. So how do you define custom fields for different Work Item types in different scopes? It's a little tricky until you grasp the concept, so let's define some common scenarios and look at what you would need to do in each case. Refer to the above table of configuration files as necessary.

Scenarios:

  1. All Work Item types, global scope

  2. All Work Item types, project scope

  3. Specific Work Item type, global scope

  4. Specific Work Item type, project scope

These scenarios assume you are working with a new installation of Polarion where instances of project scope and/or Work Item type-specific configuration files do not yet exist.

Tip

You may find it useful to create a set of folders on your local system: one for storing customized versions of configuration files for the global/repository scope, and others for storing customized versions of configuration files for different projects.

6.3.1.1. All Work Item types, global scope

You need to work with the custom-fields.xml file for the global scope.

To access the custom-fields.xml configuration file:

  1. Log in with global (repository) administrative rights.

  2. Enter the Administration perspective.

  3. Select Repository in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Custom Fields.

  5. Use the custom-fields.xml link in the Custom Field Definitions portlet to download the configuration file to your local system.

  6. After editing the file, use the controls in the Upload New Global Custom Field Definition portlet to upload the modified file back to the Polarion repository.

6.3.1.2. All Work Item types, project scope

To configure custom fields in the project scope that apply to all Work Item types, you need to download the global configuration file, make a copy of it in a different, appropriately named location on your local system), edit it, and upload the modified version back to Polarion.

To create a project-specific custom fields configuration:

  1. Log in with administration rights for the Project you want to configure.

  2. Enter the Administration perspective.

  3. In the Projects portlet, select the Project you want to configure.

  4. In the Topics portlet, expand the Work Items node and select Custom Fields.

  5. Use the custom-fields.xml link in the Custom Field Definitions portlet to download the configuration file to the location on your local system where you want to store the project-specific version of the configuration file.

  6. Edit the custom-fields.xml file as necessary to define the custom fields you want for the Project.

    Important

    Do not rename the file. It is the file name that tells Polarion that this is a configuration for all Work Items. The location in the repository indicates that it is a configuration only for the Project.

  7. Return to the Polarion user interface. In the Upload New Project Custom Field Definition portlet, click the Browse button to select the file you just finished editing for the Project configuration.

  8. Click the Upload button to upload the edited file to the repository.

6.3.1.3. Specific Work Item type, global scope

To configure custom fields for a specific Work Item type globally, you need to download a copy of the global configuration file (custom-fields.xml), rename it with the correct file name for the type of Work Item that is to have the new custom field(s), and upload the modified file back to Polarion.

To perform this configuration:

  1. Log in with global administrative rights.

  2. Enter the Administration perspective.

  3. Select Repository in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Custom Fields. Note that the Working Area contains a table that lists the types of Work Items currently defined for the repository (i.e., the default for all Projects).

  5. Use the custom-fields.xml link in the Custom Field Definitions portlet to download the configuration file to the location on your local system where you want to store the global version of the configuration file.

  6. Rename the downloaded file with the correct filename for the type of Work Item you are configuring. Refer to the table of configuration file names above.

  7. After editing the renamed file, use the controls in the Upload New Global Custom Field Definition portlet to upload the modified file back to the Polarion repository.

    After this upload, the file name value in the File Name column of the row corresponding to the Work Item type becomes a link.

6.3.1.3.1. Example

Let's say you wanted to define custom fields in the global scope for Task type Work Items. You would:

  1. Download the custom-fields.xml file to an appropriately labeled location your local system.

  2. Rename custom-fields.xml as task-custom-fields.xml.

  3. Edit the renamed file to define the desired custom field(s).

  4. Go back to Polarion and upload task-custom-fields.xml.

6.3.1.4. Specific Work Item type, project scope

To configure custom fields for a specific Work Item type for a specific Project, you need to download a copy of the global configuration file (custom-fields.xml), rename it with the correct file name for the type of Work Item that is to have the new custom field(s), and upload the modified file back to Polarion making sure you do this while working the project scope of the Administration perspective.

To perform this configuration:

  1. Log in with administrative rights for the Project you want to configure.

  2. Enter the Administration perspective.

  3. In the Projects portlet, select the Project you want to configure.

  4. In the Topics portlet, expand the Work Items node and select Custom Fields. Note that the Working Area contains a table that lists the types of Work Items currently defined for the Projects.

  5. Use the custom-fields.xml link in the Custom Field Definitions portlet to download the global configuration file to the location on your local system where you want to store the project-specific version of the configuration file.

  6. Rename the downloaded file with the correct filename for the type of Work Item you are configuring. Refer to the table of configuration file names above.

  7. After editing the renamed file, use the controls in the Upload New Global Custom Field Definition portlet to upload the modified file back to the Polarion repository.

    Important

    Be sure you still have the Project selected in the Projects portlet. The Repository node should not be selected! If it is, you will make the configuration in the wrong scope.

    After this upload, the file name value in the File Name column of the row corresponding to the Work Item type becomes a link.

6.3.1.4.1. Example

Let's say you wanted to define custom fields in the project scope for Requirement type Work Items. You would:

  1. Download the custom-fields.xml file to an appropriately labeled location your local system.

  2. Rename custom-fields.xml as requirement-custom-fields.xml.

  3. Edit the renamed file to define the desired custom field(s).

  4. Go back to Polarion, making sure the Project is still selected, and upload requirement-custom-fields.xml.

6.3.2. Mapping to Custom Fields in a Live Document

Live Documents are a feature of Enterprise level products only.

It is possible to map to custom fields in an Excel Live Document template. The easiest way is the following:

  1. Create a new Excel Live Document from a Live Document template.

  2. Define the desired custom fields in the configuration of the project where you created the Live Document.

  3. Create a Work Item in the newly created Live Document via the Polarion web interface.

This way you get columns for the desired custom fields generated in the Live Document. You can optionally delete the new Work Item from it and then use it as a template for other Live Documents in other projects later on.

6.3.3. Required Fields

The required attribute of the <field> element in the custom-fields.xml configuration file enables you to specify whether the user must fill in a value for the field when creating a Work Item that has the custom field. Setting the value to true makes the field required. Polarion checks for this attribute and if enabled, does not allow creation of a new Work Item unless the field contains a value.

6.3.4. Removing or Changing Custom Fields

You may remove a custom field from the configuration, or change its type. However, this can cause some problems with the system caches, which is why the Clear Caches button is provided on the Custom Fields configuration page (Administration: Work Items: Custom Fields). After uploading a configuration is which you have removed a custom field or changed its type, you should click this button to ensure proper updating for all users.

Important

You should not use Clear Caches after such changes adding a new custom field, or making a simple name change, as this will slow server performance until the caches are refilled.

Clearing caches is required if a custom field is removed or its type changed.

6.4. Configuring Enumerations

Enumerations are basically lists of options that can be selected and applied as a value to some field of a Work Item. Typically, enumeration values appear as choices in a drop-down list. Take for example the Status field. By default this field has a list with the following options, which reflect the default workflow configuration:

  1. Open

  2. Accepted

  3. In Progress

  4. Reopened

  5. Resolved

  6. Closed

These values are defined, and can be customized for different scopes, in an XML enumeration configuration file. This section describes the various enumeration configuration files, which Work Item fields they apply to, and how to access the configuration files. The XML structure of the different configuration files is covered in the Administration Reference: Enumerations.

6.4.1. Available Enumerations

The following table lists Work Item fields that display enumerations and the name of the enumeration configuration file where the options are defined.

Table 1.2. Work Item Fields and Enumeration Configuration Files

Work Item FieldConfiguration Filename
Statusstatus-enum.xml
Prioritypriority-enum.xml
Role (for Hyperlink)hyperlink-role-enum.xml
Link Roleworkitem-link-role-enum.xml
Type (of Work Item)workitem-type-enum.xml
Resolutionresolution-enum.xml
Severityseverity-enum.xml
Riskrisk-enum.xml

Procedures for accessing these files are covered in subsequent sections of this document.

Existing enumerations can be edited online in the portal. The following enumerations can be edited by means of graphical UI controls: severity values, status values, priority values, resolution values, and Work Item types.

The remaining enumerations are configured by editing the relevant XML file. You can optionally do that in a dedicated text editor control provided in the respective enumeration configuration pages of the Polarion web portal (Administration perspective).

6.4.2. Configuration scope

Configuration of enumerations is available for both global (repository) and Project scope. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration of each enumeration is specified in the respective configuration file described in the previous section. The following sections explain how to access each file.

Within each scope (repository or project), enumerations can be configured by Work Item type. For example, in some project, you might decide you need to add an additional resolution value "Postponed" to Requirements, but not Tasks, Defects, and Change Requests.

6.4.3. Status

The Status enumeration defines values for the Status field of Work Items. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. Examples of customizations you might do include changing the name of an existing option (e.g. "Completed" instead of "Resolved"), removing an option (e.g. maybe your process needs only "Closed" and not "Resolved"), or adding a new option- "Testing", for example.

6.4.3.1. Configuring Status

To access the status-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link status-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online.

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. After modifying and/or making one or more copies of the file for type-specific configuration, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file(s) back to the Polarion repository.

6.4.3.2. Type-specific Configuration

If you want to perform configuration of Status values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the status-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of status-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify status-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of status-enum.xml named this way:

  • For Tasks: task-status-enum.xml

  • For Change Requests: changerequest-status-enum.xml

  • For Requirements: requirement-status-enum.xml

  • For Defects: defect-status-enum.xml

  • For custom Work Item type: [custom type ID]-status-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload status-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.4.4. Priority

The Priority enumeration defines values for the Priority field of Work Items. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. Examples of customizations you might do include changing the name of an existing option (e.g. "Maximum" instead of "Highest") or removing an option (e.g. maybe your process needs only "Low" and not "Lowest").

6.4.4.1. Configuring Priority

To access the priority-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link priority-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit i n the Actions column to edit online.

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. If you are editing the configuration file offline, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.4.2. Type-specific Configuration

If you want to perform configuration of Priority values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the priority-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of priority-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify priority-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of priority-enum.xml named this way:

  • For Tasks: task-priority-enum.xml

  • For Change Requests: changerequest-priority-enum.xml

  • For Requirements: requirement-priority-enum.xml

  • For Defects: defect-priority-enum.xml

  • For custom Work Item type: [custom type ID]-priority-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload priority-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.4.5. Hyperlink Roles

The enumeration for Hyperlink defines values for the Role field of the Hyperlinks portlet of Work Items. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. To understand what kind of customization you might want to do, you should understand the purpose and usage of Hyperlinks and Hyperlink Roles. This is covered in the User Guide: Work Item Hyperlinks and Hyperlink Roles.

6.4.5.1. Configuring Hyperlink Roles

To access the hyperlink-role-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link hyperlink-role-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online.

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. If you edit the file offline, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.5.2. Type-specific Configuration

If you want to perform configuration of Status values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the hyperlink-role-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of hyperlink-role-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify hyperlink-role-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of hyperlink-role-enum.xml named this way:

  • For Tasks: task-hyperlink-role-enum.xml

  • For Change Requests: changerequest-hyperlink-role-enum.xml

  • For Requirements: requirement-hyperlink-role-enum.xml

  • For Defects: defect-hyperlink-role-enum.xml

  • For custom Work Item type: [custom type ID]-hyperlink-role-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload hyperlink-role-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.4.6. Work Item Link Roles

The Link Role enumeration defines values for the Role field of the Linked Work Items portlet of Work Items. This field is used to define relationships between linked Work Items, such as dependency. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. Examples of customizations you might do include changing the name of an existing option (e.g. "parent of" instead of "parent") or removing an option (e.g. maybe your process doesn't needs to define a "has follow-up" relationship).

6.4.6.1. Configuring Work Item Link Roles

To access the workitem-link-role-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link workitem-link-role-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online.

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. if you edit the file offline, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.6.2. Type-specific Configuration

If you want to perform configuration of Work Item Link Role values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the work-item-link-role-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of work-item-link-role-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify work-item-link-role-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of work-item-link-role-enum.xml named this way:

  • For Tasks: task-work-item-link-role-enum.xml

  • For Change Requests: changerequest-work-item-link-role-enum.xml

  • For Requirements: requirement-work-item-link-role-enum.xml

  • For Defects: defect-work-item-link-role-enum.xml

  • For custom Work Item type: [custom type ID]-work-item-link-role-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload work-item-link-role-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.4.7. Work Item Types

The Work Item Type enumeration defines the types of Work Items which appear in the Topics portlet (Projects perspective) and the Create menu in the Work Items table view. By default, 3 types are defined:

  • Task

  • Change Request

  • Requirement

Examples of customizations you might do include renaming an existing type (e.g. "Job" instead of "Task"), removing an existing type (e.g. maybe your organization doesn't have formal Requirements, so you remove that type), or adding another type: "Bug" or "Defect", for example.

6.4.7.1. Configuring Work Item Types

To access the workitem-types-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link workitem-type-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online..

  6. If you edit the file offline, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.8. Resolution

The Resolution enumeration defines values for the Resolution field of Work Items. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. Examples of customizations you might do include changing the name of an existing option (e.g. "Deferred" instead of "Later"), removing an option (e.g. maybe your process doesn't needs the "Incomplete" option), or adding a new option, "Obsolete" for example.

6.4.8.1. Configuring Resolution

To access the resolution-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link resolution-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online.

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. If you edit the file offline, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.8.2. Type-specific Configuration

If you want to perform configuration of Resolution values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the resolution-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of resolution-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify resolution-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of resolution-enum.xml named this way:

  • For Tasks: task-resolution-enum.xml

  • For Change Requests: changerequest-resolution-enum.xml

  • For Requirements: requirement-resolution-enum.xml

  • For Defects: defect-resolution-enum.xml

  • For custom Work Item type: [custom type ID]-resolution-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload resolution-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.4.9. Severity

The Severity enumeration defines values for the Severity field of Work Items. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. Examples of customizations you might do include changing the name of an existing option (e.g. "Stopship" instead of "Blocker"), removing an option (e.g. maybe your process doesn't needs the "Trivial" option), or adding a new option, "Time Permitting" for example.

6.4.9.1. Configuring Severity

To access the severity-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link severity-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online..

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. If you edit the file offline, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.9.2. Type-specific Configuration

If you want to perform configuration of Status values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the severity-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of severity-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify severity-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of severity-enum.xml named this way:

  • For Tasks: task-severity-enum.xml

  • For Change Requests: changerequest-severity-enum.xml

  • For Requirements: requirement-severity-enum.xml

  • For Defects: defect-severity-enum.xml

  • For custom Work Item type: [custom type ID]-severity-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload severity-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.4.10. Risk

The Risk enumeration defines values for the Risk field of Work Items. You can modify the configuration in the global (repository) scope where changes will affect all Projects, or for a specific Project. Examples of customizations you might do include changing the value Low" to "Negligible" (or other term used by your organization), or adding another risk level definition like "Certain Doom" or whatever you need to express the concept to your team.

6.4.10.1. Configuring Risk

To access the risk-enum.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Enumerations.

  5. Use the link risk-enum.xml in the table which appears in the Enumerations portlet to download the configuration file to your local system, or click edit in the Actions column to edit online.

  6. If you want to do this configuration for some particular Work Item type(s), but not ALL types, see Type-specific Configuration below.

  7. If you edit the file offline,, use the controls in the Upload New [Global][Project] Enumeration portlet to upload the modified file back to the Polarion repository.

6.4.10.2. Type-specific Configuration

If you want to perform configuration of Status values for one or more specific Work Item types, but not for ALL types, you need to create a copy of the risk-enum.xml for each Work Item type for which you want to customize Status values, naming each file copy according to the convention described below. You then edit each copy, making the modification(s) you require for each Work Item type, and then you upload all the named modified copies of risk-enum.xml to the Polarion server via the Enumerations page.

Important

The ID of each option in the configuration file(s) should be unique among IDs of the enumeration's options active in the project. If there are two options with the same ID, Polarion assumes that they represent the same option. (Different IDs can have the same label and icon.)

If you want to modify risk-enum.xml and have changes apply to all Work Item types, you don't need to rename the file or make a copy. If you are configuring for different Work Item types, you need to create the relevant copies of risk-enum.xml named this way:

  • For Tasks: task-risk-enum.xml

  • For Change Requests: changerequest-risk-enum.xml

  • For Requirements: requirement-risk-enum.xml

  • For Defects: defect-risk-enum.xml

  • For custom Work Item type: [custom type ID]-risk-enum.xml

Again, if you are customizing Status for ALL Work Item types, just modify and upload risk-enum.xml; if you are customizing it for one or more Work Item types, make copies named as above for only those types you are customizing (i.e. not for all of those in the list above).

6.5. Configuring Workflow

Note

Configurable workflow may not be available in some Polarion ALM products.

A "workflow" is a set of statuses and status transitions, transition conditions and dependencies that a Work Item passes through in its life cycle. For example, consider the default set of statuses:

  1. Open (the default status for all new items)

  2. Start Progress

  3. Resolve

  4. Resolve and Close

If you change the status from Open to Start Progress, or Open to Resolve, this triggers a status transition.

You can customize workflows and transitions in several scopes: globally (for all Projects), project-specific for individual Projects, or Project + type-specific, which applies only to a specific type of Work Item in a Project. Polarion looks for the most specific workflow definition first and proceeds toward the most generic in the following search sequence:

  1. Project-specific and Work Item type-specific

  2. Global and Work Item type-specific

  3. Project-specific

  4. Global

6.5.1. Workflow Configuration Interface

As with other configurations, configuration data is stored in XML configuration files and it is possible to modify the configuration by directly editing those files. Information about these files and their location can be found in the Administrator's Reference.

However, beginning with version 2.5, Polarion provides a graphical Workflow Designer. You can use this tool to customize workflows in any of the available scopes. Following sections describe how to access the Workflow Designer and its structure.

6.5.2. Accessing the Workflow Designer

Before you invoke the Workflow Designer tool, you need to navigate in the Administration perspective to the access point for the scope you want to customize (global, Project-specific, etc.)

6.5.2.1. Access for Global configuration

If you want to modify global workflows (i.e. for all Projects), select the Repository node in the Projects portlet. Keep in mind that modifications will apply to both new Projects and all existing Projects unless a customized configuration is defined for them individually.

6.5.2.2. Access for Project-specific configuration

If you want to modify workflows for a specific Project, select that Project's node in the Projects portlet. (Don't forget, we are talking about the Administration perspective ).

6.5.2.3. The Workflow Topic

Once you have selected the configuration scope in the Projects portlet, go to the Topics portlet, expand the Work Items node, and select Workflow.

The Working Area displays 2 portlets. The Workflow Definitions portlet displays a table of workflow configurations for different Work Item types. If you are in the project scope, the table also has a row for a project-specific configuration for all Work Items. In both global and project scope, the table provides access to the global configuration for all work items as well.

The Upload New Project Workflow Definition portlet provides controls for uploading locally modified XML configuration files if you should choose to do the workflow configuration that way.

Figure 1.6. Accessing the Workflow Designer

Accessing the Workflow Designer

Actions to access the graphical Workflow Designer

6.5.3. Using the Workflow Designer

Please refer to the following figure while reading the information in this section.

Figure 1.7. Graphical Workflow Designer

Graphical Workflow Designer

Workflow Designer for a Task

The Transitions portlet at the top of the Workflow Designer is a matrix of workflow transitions. The direction is from row to columns. For example, the value where the row Open intersects the column Resolved represents the transition from the "Open" state to the "Resolved" state. At each intersection where a transition is possible, there is a drop-down list of actions which can take place when the transition is triggered. These actions are defined in the Actions portlet.

The next portlet, States, is an enumeration editor for workflow states. When editing a Project workflow when there is not yet a project-scope status-enum.xml file, this portlet is in read-only mode. Click the Create type specific configuration button to switch the portlet into edit mode.

Next, as you scroll downward, is the Actions portlet, which is an editor for Transition Actions. The Actions used by the Transitions matrix are defined here. The Required roles, Required fields, and Cleared fields columns are comma-separated lists of role IDs and field IDs. Only simple field types can be specified in these columns, not collection or structure types. The Actions column contains 2 icons. The Edit icon (white check mark in purple circle) displays a popup editor of the action details (conditions and functions) which are already specified.

6.5.3.1. Required roles

In the Required Roles field you can enter a comma-separated list of roles that a user has to have to be able to perform the Action. These roles may be either project or global user roles (e.g. "project_admin" or "admin") or two special roles:

  • workitem.assignee - only assignee of the work item has this role

  • workitem.author - only author of the work item has this role

Valid role names are all global and project roles (admin, user, project-admin etc.) in the same form as in User Management- Roles. There is no need to prefix them with a project ID, because they are always resolved against given Work Item's project. The only permitted logic role is workitem.assignee. Roles are OR-ed (one is enough for the condition to succeed).

6.5.3.2. Available conditions and functions

For a listing of the available conditions for this configuration and functions that can be specified, see Administration Reference: Workflow Conditions and Functions

6.6. Configuring Table View

You can configure the data columns that display in the Work Items Table view. You can customize the column display either globally or for a specific project. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface.

Note that individual users can reconfigure the Work Items table to suit their own needs and preference via the Table Configuration dialog available in the Polarion web interface. Their changes are saved to their respective user profile. For information, see User Guide: Customizing the Work Items Table.

6.6.1. The Configuration File

The Table view customization is done by editing the table-settings.xml file for the scope you want to customize, and then uploading the modified file back to the Polarion server.

The configuration file contains <column> tags for all the available data fields that can be displayed in the Table view. The tags for the columns that appear by default are uncommented. Other available tags are placed inside a comment. If you want to remove one of the default columns so that it does not appear in the Table view, cut it and move it into the comment that contains the other available column tags. To make one of the other available columns appear in the Table view, cut its tag from the comment that contains the other available columns and paste it into the block of uncommented column tags in the position you want it to appear.

For example, if you wanted to add resolution as the third column in the table, cut the tag <column id="resolution" ...> from the block of commented tags and paste it as the fifth tag in the block of uncommented <column> tags.

6.6.2. Accessing the Configuration Files

To access the table-settings.xml file:

  1. Log in with the necessary administrative permissions and enter the Administration perspective.

  2. In the Projects portlet, either select the Repository node, or if making a Project configuration, select the relevant Project.

  3. In the Topics portlet, expand the Work Items node and select Table Configuration..

You can now download the relevant configuration file. If you are making a project configuration and no configuration file for the project scope exists, you can use the controls in the Edit Project Configuration portlet to create a project-scope copy of the global configuration file in the text editor, where you can modify and save it.

Note

Administrators with global rights can optionally change the table configuration using the Table Configuration dialog as described in User Guide: Customizing the Work Items Table. To change the global configuration, be sure you have selected the Repository node in the Projects portlet before invoking the Table Configuration dialog.

6.6.3. Fields Displayed as Table View Columns

In a new, clean installation the fields available to display as Table view columns are listed in the configuration file in comments. However, you may have an upgrade installation which has a version of the configuration file without such comments. Therefore, it may be useful to have a complete list of fields that you can optionally configure for display in the Table view. The following table lists the field IDs of fields that you can display as columns in the Work Items table, along with which ones are shown by default in new installations.

Table 1.3. Fields that can be displayed as Table view columns

Field IDShown by Default
typeYES
titleYES
priorityYES
severityYES
statusYES
createdYES
assigneeYES
authorYES
plannedStartYES
timePointYes
descriptionNO
categoriesNO
resolutionNO
previousStatusNO
dueDateNO
initialEstimateNO
timeSpentNO
remainingEstimateNO
attachmentsNO
updatedNO
plannedEndNO
approvalsNO
planningConstraintsNO
linkedWorkItemsNO
hyperlinksNO
linkedRevisionsNO
commentsNO

NOTE

Custom fields may also be used.

6.7. Configuring Queries

You can customize the list of queries that serve as search parameters in the and field in the Search Bar of the Work Items table ( Projects perspective ).

This configuration is available for both global (repository) and Project scope. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration is specified in the queries.xml configuration file. You will find comments with a customization example in this file.

To access the queries.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Queries.

  5. Use the appropriate link in the Configuration portlet to download the configuration file to your local system, or use the online configuration editor to modify the configuration.

  6. If you edit the file offline, use the controls in the Upload New [Project][Global] Configuration portlet to upload the modified file back to the Polarion repository.

6.8. Configuring Shortcuts

Shortcuts are essentially saved queries that aggregate some subset of all Work Items in the repository. For information on using shortcuts, see the User Guide: Using Queries and Shortcuts.

Shortcuts can be configured in 3 scopes:

  • Global (repository): visible to and usable by all users in all Projects

  • Project: visible to and usable by all users of a Specific project

  • User: visible to and usable by the individual user who created the shortcut

Shortcuts appear in the Shortcuts portlet of the main navigation panel grouped according to scope. Clicking on the display name executes the query and retrieves the relevant Work Items.

6.8.1. Shortcut process overview

The process of defining a new Shortcut looks like this:

  1. Log in to Polarion with access rights for the scope you want to configure (Global/repository, Project)

  2. Select the Repository node in the Projects portlet if creating a Global shortcut; select a Project if creating a project-specific shortcut.

  3. Use the Query Builder in the Work Items table to define a query that accesses the Work Items you want the new Shortcut to access.

  4. Save the query as a shortcut, giving it a name and defining its scope.

6.8.2. Creating a New Shortcut

To create a new shortcut:

  1. In the scope you want to create the shortcut for, navigate to the Work Items Table view.

  2. Use the Query Builder in the Work Items table to define a query that accesses the Work Items you want the new Shortcut to access and execute the query by clicking the Search button.

  3. In the search bar at the far right, click the Save as Shortcut icon. The Save as Shortcut popup appears.

  4. Select the scope of the Shortcut in the Scopes list.

  5. Type a descriptive name in the Name field.

  6. If you want the Shortcut to include the current Project selection, check the Include project selection option.

  7. Click the Save button to save the new Shortcut.

Figure 1.8. Saving a Shortcut

Saving a Shortcut

Saving a new Shortcut

The new Shortcut now appears in the section for its scope in the Shortcuts portlet.

6.8.3. Deleting an Existing Shortcut

To delete a Shortcut:

  1. In the Projects perspective, select the Shortcut you want to remove in the Shortcuts portlet of the main navigation panel. Note that you must have access rights for the scope of the existing shortcut.

  2. In the title bar of the Shortcuts portlet, click the Customize icon (the center one in the icon group). The Saved Shortcuts popup appears listing the shortcuts available according to your current access rights and scope selection.

  3. In the table, locate the row for the Shortcut you want to delete, and in the Actions column, click the - (minus sign) icon. The Shortcut name now appears in strike-through font.

  4. Click the Save button to delete the marked Shortcut.

6.9. Configuring the Global Working Calendar

NOTE: The Working Calendar feature may not be present in some Polarion ALM products.

The Working Calendar feature enables Polarion ALM's project planning engine to calculate the amount of actual working time available to projects. The Working Calendar defines the working days comprising a normal work week, and working hours within each normal working day. Exceptions to the normal working and non-working days/times, including temporary exceptions, can also be configured .

Working Calendar can be configured in 2 scopes: global (repository), and User. The global Working Calendar, configured in the Administration perspective, affects all Projects in the repository. In this scope it is possible to allow for known non-working time, such as national holidays, across the entire organization.

The user, or personal Working Calendar enables specification of vacations, personal holidays, and other personal time off from work, or fewer workdays or working hours in the case of part-time people, for individual users. This configuration can be performed either by an administrator, or by individual users.

The aggregate of both configuration scopes then affects the overall Live Plan of each Project. User calendars affect only the plan of projects for which they have a role. The Live Plan visually represents non-working time configured for both scopes and applicable to the project plan being rendered.

This section describes the procedures for accessing and modifying the global Working Calendar, and for accessing a user's Working Calendar for administrators working in the Administration perspective. The user calendar contains additional user interface controls. The modification procedure is the same whether the user calendar is accessed by an administrator or by the individual user.

6.9.1. Accessing the Working Calendar

This section describes how to access the global Working Calendar, and a user's Working Calendar in the Administration Perspective. Administrator permissions are necessary for access. (Non-administrators wishing to edit their personal Working Calendar should consult the User Guide topic Configuring your Working Calendar.)

To access the global Working Calendar configuration:

  1. Enter the Administration perspective.

  2. In the Projects portlet, click on Repository.

  3. In the Topics portlet, expand the Work Items node and click on Working Calendar.

To access a user configuration:

  1. Enter the Administration perspective.

  2. In the Projects portlet, click on Repository.

  3. In the Topics portlet, expand the User Management node and click on Users.

  4. Use the Search feature to locate the user whose Working Calendar you want to configure.

  5. In the user account preview pane (bottom of the screen), scroll downwards, locate the Working Calendar button and click it to display the selected user's personal Working Calendar.

6.9.2. Modifying the Global Working Calendar

The Working Calendar page consists of the following 2 portlets:

  • Regular Schedule

  • Schedule Exceptions

6.9.2.1. Regular Schedule

This portlet defines the "normal" work schedule for your organization. In a new installation, the defaults are set as follows:

  • Start Time: 09:00

  • End Time: 17:00

  • Days with working time specified: Monday - Friday

  • Days with NO working time configured: Saturday, Sunday

Days that have Start Time and End Time values are "Working" days. Days having no start/end time values are "Not-Working" days.

To change the start or end time for a Working day:

  1. Change the Start Time and/or End Time value(s) as desired.

  2. Click the Save button in the toolbar above the portlet.

To quickly change a Working day (one with Start/End Time values specified) to a Not-Working day, you can click the icon that appears to the right of the day. (alternatively, you can just clear the values in the Start Time and End Time fields.)

NOTE: You can cancel changes by clicking the Revert button.

6.9.2.2. Schedule Exceptions

In the Schedule Exceptions portlet you can define exceptions to the regular schedule. Exceptions can be permanent, or temporary for a specific period of time. For example, holidays that occur on the same date every year can be set up as permanent exceptions to the normal work schedule. Holidays that fall on a different date each year can be set up as temporary exceptions.

Schedule Exceptions can be either of 2 types:

  • Time Off - the exception is time that will not be available for work in addition to any non-working time configured in the Regular Schedule.

  • Time Working - the exception is time that will be available for work in addition to the working time configured in the Regular Schedule.

To add a Schedule Exception:

  1. Enter a meaningful title for the exception in the Title field. For example: New Years Day Holiday.

  2. Select the exception type by choosing a value in the Type drop-down list. For example: Time Off.

  3. Specify the date when the schedule exception is to begin in the Date From field in this format: yyyy-mm-dd. Alternatively, click the calendar icon next to the field and choose a date in the pop-up calendar. For example: 2008-01-01.

  4. If the exception you are defining is temporary, specify the date when it should end in the Date To field, in the same format as mentioned in the previous step. For a one-day exception like our New Years Day example, the value should be the same date as in the Date From field. If the exception is ongoing, leave the Date To field empty.

  5. If the exception you are defining occurs only on one specific weekday in the time period defined, choose that day in the drop-down list in the Weekday column. Otherwise, leave the default value All days.

  6. If the exception you are defining is of the type "Time Working", set appropriate time values in the Time From and Time To fields, which are enabled when this type is selected. Time From is the time when the additional working hours start, and Time To is the time when the additional working hours finish.

  7. If you want to add another Schedule Exception, click the + (plus sign) in the Actions column and repeat the above steps on the new row that appears.

  8. When you are finished defining your Schedule Exception(s), click the Save button in the Working Calendar toolbar. To cancel all changes, click the Revert button.

To remove a Schedule Exception:

  1. Click the - (minus sign) icon in the Actions column of the exception you want to remove.

  2. Click the Save button in the Working Calendar toolbar. To cancel the remove (before any Save), click the Revert button.

6.10. Configuring Planning

You can configure certain defaults for the Live Plan project planning engine:

  • Default initial time estimate value

  • Query that determines which Work Items are processed by Live Plan

  • Default roles for dependency and parent relationships for linked Work Items

  • Default number of working hours in a working day

  • Work Item splitting

  • Default behavior of Due Date

This configuration is available for both global (repository) and Project scope. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration is specified in the planning.xml configuration file. You will find comments in this file that explain the elements and their usage.

To access the planning.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Planning.

  5. Use the appropriate link in the Configuration portlet to download the configuration file to your local system, or edit online with the text editor provided.

  6. If you edit the file offline, use the controls in the Upload New [Project] Configuration portlet to upload the modified file back to the Polarion repository.

6.10.1. Splitting Work Items Across Time and Dependencies

There is a per-project option in the planning.xml file, workitem-splitting, that defines whether Work Items in a project can be split. The option is enabled by default.

If the option is enabled, then when Polarion searches for a space for a Work Item in the project plan, it may decide to split the Work Item to two or more pieces and thus make use of periods of time before the Work Item is fixed or postponed by a planning constraint. The resulting plan is more optimal in terms of priorities. This approach ensures that dependencies are handled.

The Live Plan visualization shows both split and nested Work Items.

6.10.2. Due Date Planning Option

The due-date-planning option controls the way in which the Live Plan engine processes and renders the due date of Work Items. The default value is false. This configuration is available in the global scope only. Changing the value to true has the following effect:

  • Due date will be considered a "suggestion" for planning, not "rule", meaning that it is considered by the planning engine when determining the order of items in the plan, but the produced plan can still violate the due date constraint -- which will always be indicated in the Live Plan visualization and Due Date column in the Table view.

  • When determining a Work Item's best order based on due dates, any item that has a due date defined (including having a Time Point - see note below) will take precedence before any Work Item that does not have such date or time point defined. This implies that good practice is providing due dates (or time points) for all items when this option is turned on. Items without a due date are automatically penalized regardless of their priority.

  • Items without a due date specified will inherit the due date from their parent, if it can be determined. As such this makes an exception/correction to point 2 above. A due date defined at the child item always takes precedence, regardless of whether it is later or earlier than the parent due date.

Note

Wherever "due date" is mentioned, it means "time point or due date", as time points are internally interpreted as due dates. All items above apply for items from projects that have the due-date-planning option turned on.

6.11. Configuring Linking

You can configure the default state of the Suspect check box in Work Item link properties.

This configuration is available for both global (repository) and Project scope. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration is specified in the linking.xml configuration file. You will find comments in this file that explain the elements and their usage.

To access the linking.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Linking.

  5. Use the appropriate link in the Configuration portlet to download the configuration file to your local system, or edit online with the text editor provided.

  6. If you edit the file offline, use the controls in the Upload New [Project] Configuration portlet to upload the modified file back to the Polarion repository.

6.12. Configuring Autoassignment

You can configure Polarion to automatically assign new Work Items to someone- a project leader, for example. This automatic assignment is not active by default- you need to perform this configuration to activate it.

This configuration is available for both global (repository) and Project scope. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration is specified in the autoassignment.xml configuration file. You will find comments in this file that explain the elements and their usage.

6.12.1. Autoassignment Example

Suppose you want to configure Polarion to automatically assign new Work Items to the user who is defined as project lead. You would need to add the following lines to the autoassignment.xml file in the project scope, inside the <autoassignment> element:

<rule>
    <condition>
       <!--  empty condition is always satisfied -->
    </condition>
    <assignee>
        <project-lead />
    </assignee>
</rule>
                    

6.12.2. Accessing the configuration file

To access the autoassignment.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Autoassignment.

  5. Use the appropriate link in the Configuration portlet to download the configuration file to your local system, or edit online with the text editor provided.

  6. If you edit the file offline, use the controls in the Upload New [Global][Project] Configuration portlet to upload the modified file back to the Polarion repository.

6.13. Configuring Voting

You can configure the Work Item Voting feature to enable or disable it (it is enabled by default) and/or set the per-user limit of votes on Work Items in projects.

This configuration is available for both global (repository) and Project scope. If you are not familiar with the basics of the different scopes, you may want to review Administration Basics: The Administration Interface. The configuration is specified in the voting.xml configuration file. You will find comments in this file that explain the elements and their usage.

To access the voting.xml configuration file:

  1. Log in with administrative rights for the scope you want to configure (repository and/or Project).

  2. Enter the Administration perspective.

  3. If making a global configuration, select Repository in the Projects portlet. If making a project configuration, navigate to and select the Project in the Projects portlet.

  4. In the Topics portlet, expand the Work Items node and select Voting.

  5. Use the appropriate link in the Configuration portlet to download the configuration file to your local system, or edit online with the text editor provided.

  6. If you edit the file offline, use the controls in the Upload New [Project] Configuration portlet to upload the modified file back to the Polarion repository.