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
72:jira_feedback [2019/01/29 14:13] – [Stages config.xml] fnpk72:jira_feedback [2019/04/24 16:46] emr
Line 14: Line 14:
  
 To enable the following configuration section must be added in the ''conf/config.xml'': To enable the following configuration section must be added in the ''conf/config.xml'':
- +<code xml>
-xml +
- +
-<code file>+
 <?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
 <stages-config> <stages-config>
Line 45: Line 42:
             <attributes>             <attributes>
                 <attribute ident="description" type="text" target="description" />                 <attribute ident="description" type="text" target="description" />
-                <attribute ident="feedback_type" type="string" target="customfield_10101" /+                <!-- The following fields could be enabled if you want the users to provide more data with every feedback item: --
-                <attribute ident="impacted_org" type="string" target="customfield_10102" />+                <!--
                 <attribute ident="annual_savings" type="string" target="customfield_10100" />                 <attribute ident="annual_savings" type="string" target="customfield_10100" />
-                <attribute ident="submitter_review" type="string" target="customfield_10103" />+                <attribute ident="priority" type="string" target="customfield_10101" /
 +                -->
             </attributes>             </attributes>
  
Line 71: Line 69:
 </stages-config> </stages-config>
 </code> </code>
- 
  
 ==== Stages metamodel ==== ==== Stages metamodel ====
Line 77: Line 74:
 The feedback widget must be added to your Stages metamodel. The XML-Element is: The feedback widget must be added to your Stages metamodel. The XML-Element is:
  
-<code file xml>+<code xml>
 <widget:feedback/> <widget:feedback/>
 </code> </code>
Line 83: Line 80:
 For adding the widget to the social section, you can adopt it like this: For adding the widget to the social section, you can adopt it like this:
  
-<code file xml>+<code xml>
 <widget:definition id="social"> <widget:definition id="social">
     <layout:tabbed-card id="info">     <layout:tabbed-card id="info">
Line 102: Line 99:
  
 As last step you have to provide translations for the introduced custom fields. The translation property consists of the prefix ''process.feedback.mapping.'' and the ident you defined in the config.xml file. For the example the translations are: As last step you have to provide translations for the introduced custom fields. The translation property consists of the prefix ''process.feedback.mapping.'' and the ident you defined in the config.xml file. For the example the translations are:
- +<code properties>
-properties +
- +
-<code file properties>+
 process.feedback.mapping.summary = Summary process.feedback.mapping.summary = Summary
 process.feedback.mapping.description = Description process.feedback.mapping.description = Description