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
712:process_feedback_polarion [2025/09/03 14:17] – [Example Configuration] Heindl, Christoph712:process_feedback_polarion [2025/09/04 14:25] (current) – [Create Personal Access Token In Polarion] Heindl, Christoph
Line 12: Line 12:
 <feedback-system name="polarion"> <feedback-system name="polarion">
      <host url="example.com" ident="polarion" displayName="Polarion">      <host url="example.com" ident="polarion" displayName="Polarion">
 +          <!-- See the section below for how to create a personal access token -->
           <property name="token" value="xxxx"/>           <property name="token" value="xxxx"/>
           <!-- Define the polarion project where the work item should be created in -->           <!-- Define the polarion project where the work item should be created in -->
Line 17: Line 18:
           <!-- Define the id of the work item type that should be created -->           <!-- Define the id of the work item type that should be created -->
           <property name="workItemType" value="xxxx"/>           <property name="workItemType" value="xxxx"/>
-          +
           <!-- The summary field will always be available and is automatically mapped to the work item title  -->           <!-- The summary field will always be available and is automatically mapped to the work item title  -->
  
-<!-- See common feedback documentation - The "target" defines the id of the field in -->+          <!-- See common feedback documentation - The "target" defines the id of the field in -->
           <attributes>           <attributes>
                <attribute ident="description" type="text" target="description" />                <attribute ident="description" type="text" target="description" />
Line 26: Line 27:
                <attribute ident="assignee" type="string" target="assignee"/>                <attribute ident="assignee" type="string" target="assignee"/>
                <attribute ident="hyperlinks" type="string" target="hyperlinks"/>                <attribute ident="hyperlinks" type="string" target="hyperlinks"/>
 +               <!-- Example for a multi-line custom field. In this case 'myCustomMultiLine' would need to exist in your work item-->
                <attribute ident="myCustomMultiLine" type="text" target="myCustomMultiLine", targetType="multi-line"/>                <attribute ident="myCustomMultiLine" type="text" target="myCustomMultiLine", targetType="multi-line"/>
  
-               <!-- Add more fields as needed. Make sure the 'target' value matches the column id in Polarion -->+               <!-- Add more fields as needed. Make sure the 'target' value matches the field id in Polarion -->
           </attributes>           </attributes>
      </host>      </host>
Line 57: Line 59:
  
  
-===== Host Properties ===== 
- 
-> token ** * ** 
  
-  * The token (personal access token) is needed to connect to your Polarion instance. +===== Create Personal Access Token In Polarion =====
  
-1. Log in to Polarion as an administrator +1. Log in to Polarion as an administrator
  
 2. Navigate to Settings > Administration > User management > Users 2. Navigate to Settings > Administration > User management > Users
Line 71: Line 70:
 4. Click on Personal Access Token to create a Token 4. Click on Personal Access Token to create a Token
  
-> project ** * **+See [[https://docs.sw.siemens.com/en-US/doc/230235217/PL20240424963191224.polarion_help_sc.xid1465510/xid2210304|Polarion Documentation]]
  
-  The project id of the Polarion project you want to send work items to. +**Note:** By default, Polarion tokens can be valid for a maximum of 90 days. Newer versions of Polarion allow you to set a longer token lifetime in the `polarion.properties` file. See the Polarion documentation for details.
  
-> workItemType ** * ** 
  
-  * The id of the work item type you want to create.