Oracle Fusion Middleware Tag Reference for Oracle Team Productivity Center Connectors
11g Release 2 (11.1.2.1.0)
E17495-02
Go back

Summary

Tag name: <WorkItem>

The WorkItem tag defines a work item.

Code Example(s)

<WorkItem data-source="rpthead" 
          id-def="RPTNO" 
          id-label="${res.BUG_NO}" 
          label-def="RPTNO"
          name="${res.BUG_NAME}"
          type="Bug" 
          subject-def="SUBJECT"
          webURLHandler="oracle.alm.bugdb.model.BugFieldFeaturesImpl"
          operatorHandler="oracle.alm.bugdb.model.BugFieldFeaturesImpl"
          supportSearchByID = "true" 
          xmlns="http://www.oracle.com/alm" version="1.1.1.1"/>

Attributes

Name Type Default value Required? Supports EL? Description
nameStringYYSpecifies the work item name. The name should be unique in the repositoryModule scope.
id-defStringYYSpecifies the field name that uniquely identifies a work item in the back end repository.
id-labelStringYSpecifies the string that can be used to summrize the work item content. It is an UI property that is used as a display name for the work item. For example The tab text shows the value of this attribute when the work item is opened in an IDE editor window.
subject-defStringYThis attribute specifies the field that provides a summary or subject of the work item.
typeStringYThe type attribute is used to differentiate different work item in same repository. One repositoryModule can define multiple work item types. For example: In JIRA repository module there are types of task bug improvement.
webURLHandlerStringYThis attribute specifies a java implementation of oracle.alm.common.model.WorkItemFieldFeature interface.
supportSearchByIDbooleantrueYIndicates whether search by work item id will be enabled or not on the client. Valid values are true and false. A menu item is added when right mouse click the repository node inside the work item accordion if the value is set to true.
supportWorkItemCreationbooleantrueYIndicates whether creating workimte will be enabled or not on client (note: this attribute is to be revisited in the future).
queryConjunctionsStringtrueYDefine the supported query conjunctions for the query of workitems in current connector repository. By default we should both AND and OR. Value can be AND or OR or both(separated by comma)
data-sourceStringYYSpecifies the name of a data source defined in the work item model definition file. It is used to retrieve work item details.
operatorHandlerStringYYSpecifies a implementation java class of WorkItemFieldFeature interface.