Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
74:jira_feedback [2019/09/25 09:37] – fnpk | 74:jira_feedback [2019/10/11 07:41] – fnpk |
---|
- The "type" defines if the field is a multi-line text ("text") or a single line string ("string"). | - The "type" defines if the field is a multi-line text ("text") or a single line string ("string"). |
- The "target" defines the id of the custom field in Jira (e.g. "customfield_10101"). | - The "target" defines the id of the custom field in Jira (e.g. "customfield_10101"). |
| - Optional: The targetType defines the type of the Jira field. Supported Jira fields see below. |
--> | --> |
<attributes> | <attributes> |
<attribute ident="annual_savings" type="string" target="customfield_10100" /> | <attribute ident="annual_savings" type="string" target="customfield_10100" /> |
<attribute ident="priority" type="string" target="customfield_10101" /> | <attribute ident="priority" type="string" target="customfield_10101" /> |
| <attribute ident="component" type="string" target="components" targetType="components" /> |
--> | --> |
</attributes> | </attributes> |
- creatorUsername "jdoe" | - creatorUsername "jdoe" |
The "target" defines the id for the custom field in Jira (e.g. "customfield_10101"). | The "target" defines the id for the custom field in Jira (e.g. "customfield_10101"). |
| Optional: The targetType defines the type of the Jira field. Supported Jira fields see below. |
--> | --> |
<system-attribute-mappings> | <system-attribute-mappings> |
</code> | </code> |
| |
=== Custom Endpoint === | === Supported Jira fields ==== |
| * Description: ''targetType=""'' (Empty) |
| * Text Field (single line): ''targetType=""'' (Empty) |
| * Text Field (multi line): ''targetType=""'' (Empty) |
| * Select List (single choice): ''targetType="selectList-singleChoice"'' |
| * Components: ''targetType="components"'' |
| |
If your Jira REST-Endpiont differs from the standard location, you can specify it. If your link to the Jira-API is for example like ''%%https://api.example.com/example/api/2/issue%%'' then you have to specify ''%%https://api.example.com/example/%%'' as value for this property. | Be aware: If you choose Select or Component then the user entered values must be configured in Jira. Otherwise the ticket creation will fail. |
| |
| Other Jira fields are not supported at the moment. |
| |
| === Custom Endpoint === |
| |
| If your Jira REST-Endpiont differs from the standard location, you can specify it. If your link to the Jira-API is for example like ''<nowiki>https://api.example.com/example/api/2/issue</nowiki>'' then you have to specify ''<nowiki>https://api.example.com/example/</nowiki>'' as value for this property. |
<code xml> | <code xml> |
<property name="jira.rest.endpoint" value="https://api.example.com/example/" /> | <property name="jira.rest.endpoint" value="https://api.example.com/example/" /> |