Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
77:process_feedback_codebeamer [2021/03/23 09:33] mnwm77:process_feedback_codebeamer [2021/07/28 12:37] fnpk
Line 11: Line 11:
 To enable the following configuration section must be added in the ''conf/config.xml'': To enable the following configuration section must be added in the ''conf/config.xml'':
 <code xml> <code xml>
-<?xml version="1.0" encoding="UTF-8" ?> 
 <stages-config> <stages-config>
   <!-- Insert this block to your stages config.xml file -->   <!-- Insert this block to your stages config.xml file -->
-  <feedback-system name="CodeBeamer"> +  <feedback-systems> 
-    <host url="https://codebeamer.example.com/cb">+    <feedback-system name="codebeamer"> 
 +      <host url="https://codebeamer.example.com/cb" ident="codebeamer1" displayName="Example Codebeamer">
  
-      <!-- Credentials for a (technical) user who is allowed to create items in the CodeBeamer project and tracker --> +        <!-- Credentials for a (technical) user who is allowed to create items in the CodeBeamer project and tracker --> 
-      <property name="user" value="user" /> +        <property name="user" value="user" /> 
-      <property name="password" value="secret" />+        <property name="password" value="secret" />
  
-      <!-- Define the tracker (with the trackerId and the correspoinding keyName) where the item should be created in  --> +        <!-- Define the tracker (with the trackerId and the correspoinding keyName) where the item should be created in  --> 
-      <property name="trackerId" value="2267" /> +        <property name="trackerId" value="2267" /> 
-      <property name="keyName" value="TASK" />+        <property name="keyName" value="TASK" />
  
-      <!-- The summary field will always be available and is automatically mapped to the CodeBeamer name field -->+        <!-- The summary field will always be available and is automatically mapped to the CodeBeamer name field -->
  
-      <!-- +        <!-- 
-      See common feedback documentation +        See common feedback documentation 
-      - The "target" defines the id of the custom field in CodeBeamer(e.g. "customfield_10101"). +        - The "target" defines the id of the custom field in CodeBeamer(e.g. "customfield_10101"). 
-      - Optional: The targetType defines the type of the CodeBeamer trackerField. Supported tracker fields see below. +        - Optional: The targetType defines the type of the CodeBeamer trackerField. Supported tracker fields see below. 
-      --> +        --> 
-      <attributes> +        <attributes> 
-        <attribute ident="description" type="text" target="description" /> +            <attribute ident="description" type="text" target="description" /> 
-      </attributes>+        </attributes>
  
-      <!-- +        <!-- 
-      See common feedback documentation +        See common feedback documentation 
-      The "target" defines the id for the custom field in CodeBeamer(e.g. "10000"). +        The "target" defines the id for the custom field in CodeBeamer(e.g. "10000"). 
-      Optional: The targetType defines the type of the CodeBeamer tracker field. Supported tracker fields see below. +        Optional: The targetType defines the type of the CodeBeamer tracker field. Supported tracker fields see below. 
-      --> +        --> 
-      <system-attribute-mappings> +        <system-attribute-mappings> 
-        <attribute source="elementUrl" target="10000" targettype="UrlFieldValue" /> +            <attribute source="elementUrl" target="10000" targetType="UrlFieldValue" /> 
-        <attribute source="creatorUsername" target="1000" targettype="UserReference" /> +            <attribute source="creatorUsername" target="1000" targetType="UserReference" /> 
-      </system-attribute-mappings>+        </system-attribute-mappings>
  
-      <!-- +        <!-- 
-      See common feedback documentation +        See common feedback documentation 
-      The "target" defines the id for the custom field in CodeBeamer(e.g. "10000"). +        The "target" defines the id for the custom field in CodeBeamer(e.g. "10000"). 
-      Optional: The targetType defines the type of the CodeBeamer field. Supported CodeBeamer fields see below. +        Optional: The targetType defines the type of the CodeBeamer field. Supported CodeBeamer fields see below. 
-      --> +        --> 
-      <custom-attribute-mappings> +        <custom-attribute-mappings> 
-        <attribute value="Stages" target="10001" /> +            <attribute value="Stages" target="10001" /> 
-      </custom-attribute-mappings> +        </custom-attribute-mappings> 
-    </host> +      </host> 
-  </feedback-system>+    </feedback-system
 +  </feedback-systems>
 </stages-config> </stages-config>
- 
- 
 </code> </code>
  
Line 129: Line 128:
  
   * Description: Custom Field:   * Description: Custom Field:
-      * Type Text: ''targettype="TextFieldValue"''  (default if no targetType is set) +      * Type Text: ''targetType="TextFieldValue"''  (default if no targetType is set) 
-      * Type Wikilink/Url: ''targettype="UrlFieldValue"''  (required to set hyperlinks)+      * Type Wikilink/Url: ''targetType="UrlFieldValue"''  (required to set hyperlinks)
   * Description: Choice Field:   * Description: Choice Field:
-      * Type Text: ''targettype="UserReference"''  (required to set the requester automatically. Requester's username must be identical in Stages and CodeBeamer)+      * Type Text: ''targetType="UserReference"''  (required to set the requester automatically. Requester's username must be identical in Stages and CodeBeamer)