Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
72:jira_feedback [2018/10/24 11:19] – Code formatting fnpk72:jira_feedback [2018/10/25 13:48] emr
Line 8: Line 8:
 ==== Jira ==== ==== Jira ====
  
-First of all, create a Jira project where the feedback will be collected. If you want to collect more information than the summary and a description, you have to [[https://confluence.atlassian.com/adminjiraserver/adding-a-custom-field-938847222.html|add custom fields to your Jira project]] and add them to your ''Create Issue Screen''.+First of all, create a Jira project where the feedback will be collected. If you want to collect more information than the summary and a description, you have to [[https://confluence.atlassian.com/adminjiraserver/adding-a-custom-field-938847222.html|add custom fields to your Jira project]] and add them to your ''Create Issue Screen''. To locate the correct fields, use the Jira assistant "Where is my field?" for more info.
  
 To configure Stages, ids of the Jira custom fields are required. There are several ways to find them out in the [[https://confluence.atlassian.com/jirakb/how-to-find-id-for-custom-field-s-744522503.html|Jira documentation]]. The ids consist of the prefix ''customfield_'' and a number e.g. ''customfield_10101''. To configure Stages, ids of the Jira custom fields are required. There are several ways to find them out in the [[https://confluence.atlassian.com/jirakb/how-to-find-id-for-custom-field-s-744522503.html|Jira documentation]]. The ids consist of the prefix ''customfield_'' and a number e.g. ''customfield_10101''.
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 file xml>
-<file xml>+
 <?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
 <stages-config> <stages-config>
Line 68: Line 67:
     </feedback-system>     </feedback-system>
 </stages-config> </stages-config>
-</file>+</code>
  
 ==== Stages metamodel ==== ==== Stages metamodel ====
Line 74: Line 73:
 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:
  
-<file xml>+<code file xml>
 <widget:feedback/> <widget:feedback/>
-</file>+</code>
  
 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:
  
-<file xml>+<code file xml>
 <widget:definition id="social"> <widget:definition id="social">
     <layout:tabbed-card id="info">     <layout:tabbed-card id="info">
Line 94: Line 93:
     </layout:tabbed-card>     </layout:tabbed-card>
 </widget:definition> </widget:definition>
-</file>+</code>
  
 ==== Stages language properties ==== ==== Stages language properties ====
Line 102: Line 101:
 properties properties
  
-<file properties>+<code file properties>
 process.feedback.mapping.summary = Summary process.feedback.mapping.summary = Summary
 process.feedback.mapping.description = Description process.feedback.mapping.description = Description
Line 109: Line 108:
 process.feedback.mapping.annual_savings = Savings process.feedback.mapping.annual_savings = Savings
 process.feedback.mapping.submitter_review = Submitter process.feedback.mapping.submitter_review = Submitter
-</file>+</code>
  
 After all, don't forget to execute ''update.bat'' / ''update.sh'' and restart your Stages. After all, don't forget to execute ''update.bat'' / ''update.sh'' and restart your Stages.