Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
75:process_feedback_redmine [2020/04/14 09:04] – tssr | 75:process_feedback_redmine [2024/02/15 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Supported | + | ====== Process Feedback |
- | * subject: < | + | First of all, create or choose a Redmine project where the feedback will be collected. |
- | * description: < | + | You need to get the identifier for that project: |
- | * assigned_to_id: | + | |
- | * custom_fields: | + | |
- | ==== Supported Redmine Custom Fields ==== | + | {{ : |
- | Custom fields have a unique ID and can be written using this ID. | + | 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. |
- | For example: | + | {{ :feedback: |
+ | Stages will use the [[https:// | ||
+ | |||
+ | ===== Stages config.xml ===== | ||
+ | |||
+ | To enable the following configuration section must be added in the '' | ||
<code xml> | <code xml> | ||
- | <attribute ident="customURL" | + | <?xml version="1.0" |
+ | < | ||
+ | <!-- Insert this block to your stages config.xml file --> | ||
+ | < | ||
+ | <!-- Url to the Redmine server --> | ||
+ | <host url=" | ||
+ | |||
+ | <!-- The api access key to authenticate against the Redmine server --> | ||
+ | < | ||
+ | | ||
+ | <!-- Set the project identifier where the issue should be created in --> | ||
+ | < | ||
+ | |||
+ | <!-- The summary field will always be available and is automatically mapped to the " | ||
+ | |||
+ | <!-- | ||
+ | See common feedback documentation | ||
+ | - The " | ||
+ | - The targetType defines whether the value is a custom attribute or built-in and defines the type of the value. | ||
+ | - e.g. targetType=" | ||
+ | - " | ||
+ | - missing targetType defaults to " | ||
+ | --> | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | See common feedback documentation | ||
+ | The " | ||
+ | (To get the custom field ids go to http:// | ||
+ | Optional: The targetType defines the type of the Redmine field. Supported fields see below. | ||
+ | --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <!-- | ||
+ | See common feedback documentation | ||
+ | The " | ||
+ | (To get the custom field ids go to http:// | ||
+ | Optional: The targetType defines the type of the Redmine field. Supported fields see below. | ||
+ | --> | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
</ | </ | ||
+ | |||
+ | ==== Supported Redmine Issue Fields ===== | ||
+ | Example: | ||
+ | |||
+ | <code xml>< | ||
+ | |||
+ | * subject: < | ||
+ | * description: | ||
+ | * assigned_to_id: | ||
+ | * custom_fields: | ||
+ | |||
+ | ==== Supported Redmine Custom Fields ===== | ||
+ | |||
+ | Custom fields have a unique ID and can be written using this ID. | ||
+ | |||
+ | For example: | ||
+ | <code xml>< | ||
Supported Custom Field Types: | Supported Custom Field Types: | ||
Line 25: | Line 97: | ||
* User: < | * User: < | ||
+ | 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: < | ||
+ | |||
+ | You will get the structure of the issue in JSON format as follows: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Be aware ==== | ||
+ | * If you choose target type **user**, then the users must be valid Redmine users. Otherwise the ticket creation will fail. |