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
Last revisionBoth sides next revision
75:process_feedback_2 [2020/07/13 10:45] fnpk75:process_feedback_2 [2020/07/13 11:03] fnpk
Line 12: Line 12:
   <!-- Insert this block to your stages config.xml file -->   <!-- Insert this block to your stages config.xml file -->
  
-  <feedback-system name=" jira || rtc || redmine || ptcilm "> +  <feedback-system name="jira|rtc|redmine|ptcilm">
       <host url="https://some.example.com/feedback-system">       <host url="https://some.example.com/feedback-system">
  
Line 25: Line 24:
         <attribute source="elementUrl" target="MyField" targetType="MyField" targetType="MyFieldType" />         <attribute source="elementUrl" target="MyField" targetType="MyField" targetType="MyFieldType" />
       </system-attribute-mappings>       </system-attribute-mappings>
 +      
 +      <custom-attribute-mappings>
 +        <attribute value="Stages" target="MySourceSystemField" targetType="MyFieldType" />
 +      </custom-attribute-mappings>
 +      
     </host>     </host>
   </feedback-system>   </feedback-system>
Line 58: Line 62:
 </code> </code>
  
-Properties: 
   * ''ident'': Stages translation property   * ''ident'': Stages translation property
   * ''type'': Type of text field in Stags:   * ''type'': Type of text field in Stags:
Line 72: Line 75:
 <attribute source="elementUrl" target="MyField" targetType="MyField" targetType="MyFieldType" /> <attribute source="elementUrl" target="MyField" targetType="MyField" targetType="MyFieldType" />
 </code> </code>
 +
   * ''source'': Which information from Stages should be taken   * ''source'': Which information from Stages should be taken
     * ''elementUrl'': Url to element     * ''elementUrl'': Url to element
-    * ''elementStableUrl'': Url to element with specific version +    * ''elementStableUrl'': Url to element with specific version (Since Stages 7.5.1.3) 
-    * ''originElementUrl'': Url to editable element if current element is imported by module import +    * ''originElementUrl'': Url to editable element if current element is imported by module import (Since Stages 7.5.1.3) 
-    * ''originElementStableUrl'': Url to editable element with specific version if current element is imported by module import +    * ''originElementStableUrl'': Url to editable element with specific version if current element is imported by module import (Since Stages 7.5.1.3) 
-    * ''elementIdentity'': e.g. _wUV9sBbNHr-aicWx33VsQA +    * ''elementIdentity'': e.g. _wUV9sBbNHr-aicWx33VsQA (Since Stages 7.5.1.3) 
-    * ''processVersionName'': e.g. V1+    * ''processVersionName'': e.g. V1 (Since Stages 7.5.1.3)
     * ''workspaceName'': e.g. Software Engineering     * ''workspaceName'': e.g. Software Engineering
     * ''workspacePath'': e.g. Company > Software     * ''workspacePath'': e.g. Company > Software
-    * ''workspaceFullPath'': e.g. Company > Software > Software Engineering+    * ''workspaceFullPath'': e.g. Company > Software > Software Engineering (Since Stages 7.5.1.3)
     * ''creatorFullname'': e.g. John Doe     * ''creatorFullname'': e.g. John Doe
     * ''creatorUsername'': e.g. jdoe     * ''creatorUsername'': e.g. jdoe
   * ''target'' and ''targetType'': Defines feedback system specific configuration   * ''target'' and ''targetType'': Defines feedback system specific configuration
 +
 +=== Custom Attribute Mappings ===
 +
 +(Since Stages 7.5.1.3)
 +
 +Custom attribute mappings are similar to the attributes but are NOT visible in the Stages Application. The values for these attributes come directly from ''config.xml''. You can map static values to fields in the feedback system.
 +
 +<code xml>
 +<attribute value="Stages" target="MySourceSystemField" targetType="MyFieldType" />
 +</code>
 +
 +  * ''value'': The value that should be mapped
 +  * ''target'' and ''targetType'': Defines feedback system specific configuration
 +
  
 ==== Stages metamodel ==== ==== Stages metamodel ====