Differences

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

Link to this comparison view

Next revision
Previous revision
77:process_feedback_redmine [2021/07/07 10:47] – created fnpk77:process_feedback_redmine [2024/02/15 00:00] (current) – external edit 127.0.0.1
Line 20: Line 20:
   <!-- Insert this block to your stages config.xml file -->   <!-- Insert this block to your stages config.xml file -->
   <feedback-systems>   <feedback-systems>
-    <feedback-system name="redmine" ident="redmine1" displayName="Example Redmine">+    <feedback-system name="redmine">
  
         <!-- Url to the Redmine server -->         <!-- Url to the Redmine server -->
-        <host url="http://redmine.example.com">+        <host url="http://redmine.example.com" ident="redmine1" displayName="Example Redmine">
  
         <!-- The api access key to authenticate against the Redmine server -->         <!-- The api access key to authenticate against the Redmine server -->
Line 52: Line 52:
         -->         -->
         <system-attribute-mappings>         <system-attribute-mappings>
-            <attribute source="elementUrl" target="1" /> +            <attribute source="elementUrl" target="1" targetType="custom" /> 
-            <attribute source="workspaceName" target="2" /> +            <attribute source="workspaceName" target="2" targetType="custom" /> 
-            <attribute source="workspacePath" target="3" /> +            <attribute source="workspacePath" target="3" targetType="custom" /> 
-            <attribute source="creatorFullname" target="4" />+            <attribute source="creatorFullname" target="4" targetType="custom" />
             <attribute source="creatorUsername" target="assigned_to_id" targetType="user"/>             <attribute source="creatorUsername" target="assigned_to_id" targetType="user"/>
         </system-attribute-mappings>         </system-attribute-mappings>
Line 88: Line 88:
 Custom fields have a unique ID and can be written using this ID. Custom fields have a unique ID and can be written using this ID.
  
-For example+Example for attribute mapping
-<code xml><attribute ident="customURL" type="text" target="1" targetType="custom"/></code>+<code xml><attribute ident="impact" type="text" target="1" targetType="custom"/></code> 
 + 
 +Example for system attribute mapping: 
 +<code xml><attribute source="elementUrl" target="2" targetType="custom"/></code> 
  
 Supported Custom Field Types: Supported Custom Field Types:
  
-  * Text: <nowiki>targetType="custom''</nowiki> +  * Text: <nowiki>targetType="custom"</nowiki> 
-  * Long text: <nowiki>targetType="custom''</nowiki> +  * Long text: <nowiki>targetType="custom"</nowiki> 
-  * Boolean: <nowiki>targetType="custom''</nowiki> +  * Boolean: <nowiki>targetType="custom"</nowiki> 
-  * Link: <nowiki>targetType="custom''</nowiki> +  * Link: <nowiki>targetType="custom"</nowiki> 
-  * User: <nowiki>targetType="custom.user''</nowiki>+  * User: <nowiki>targetType="custom.user"</nowiki>
  
 To identify the IDs of the custom fields of your issues, log in to redmine. Make sure, there is at least one existing issue in the project. Navigate to this URL: <nowiki>https://<redmine-server-name>/issues/1.json </nowiki>. To identify the IDs of the custom fields of your issues, log in to redmine. Make sure, there is at least one existing issue in the project. Navigate to this URL: <nowiki>https://<redmine-server-name>/issues/1.json </nowiki>.