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
75:process_feedback_redmine [2020/04/14 11:53] – [Process Feedback Redmine specific] tssr75:process_feedback_redmine [2020/04/14 13:11] – [Supported Redmine Custom Fields] tssr
Line 4: Line 4:
 You need to get the identifier for that project: You need to get the identifier for that project:
  
-{{:feedback:redmine:project-identifier.png?300|}}+{{ :feedback:redmine:project-identifier.png?300 |}}
  
 Second, you need a user for creating the issues in that project. Navigate to the account details page and get the API access key from there. Second, you need a user for creating the issues in that project. Navigate to the account details page and get the API access key from there.
  
-{{:feedback:redmine:access-key.png?300|}}+{{ :feedback:redmine:access-key.png?300 |}}
  
 Stages will use the [[https://www.redmine.org/projects/redmine/wiki/Rest_api|Redmine REST API]] interface to create the items. Stages will use the [[https://www.redmine.org/projects/redmine/wiki/Rest_api|Redmine REST API]] interface to create the items.
Line 69: Line 69:
  
 ==== Supported Redmine Issue Fields ===== ==== Supported Redmine Issue Fields =====
-  * subject: <nowiki>targetType=""</nowiki>+Example: 
 + 
 +<code xml><attribute ident="attributeIdent" type="text" target="description" /></code> 
 + 
 +  * subject: <nowiki>targetType=""</nowiki> (Subject is always enabled and must not be configured in config.xml)
   * description: <nowiki>targetType=""</nowiki>   * description: <nowiki>targetType=""</nowiki>
   * assigned_to_id: <nowiki>targetType="user"</nowiki>   * assigned_to_id: <nowiki>targetType="user"</nowiki>
Line 88: Line 92:
   * 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>.
 +
 +You will get the structure of the issue in JSON format as follows:
 +
 +{{ :feedback:redmine:custom-fields.png?200 |}}
 +
 +==== Be aware ====
 +
 +  * If you choose target type **user**, then the users must be valid Redmine users. Otherwise the ticket creation will fail.