Jira: Issue Collector

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche

The issue collector allows you to easily embed a Jira feedback form into your own web site. This form is typically accessed by clicking a 'trigger' tab exposed along the edge of pages in your web site.

Create an Jira Issue Collector Button on a Confluence page

  • Open your project under Projects
  • Open the settings of your project and go to Issue collectors and add one

01-jira issue-collector.png

  • Configure your Issue collector and configure the Trigger style to Custom
  • Copy the first section from your code

02-jira issue-collector.png

  • Add an HTML makro on your Confluence-Page and add following javascript code:
<Paste here your copied code>
 
<script type="text/javascript">window.ATL_JQ_PAGE_PROPS =  {
        "triggerFunction": function(showCollectorDialog) {
               //Requries that jQuery is available! 
               jQuery("#UseCaseButton").click(function(e) {
                       e.preventDefault();
                       showCollectorDialog();
               });
        },
		fieldValues: {
 		summary : 'Issue-Title',
		description : 'Issue-Description',
	}					
};</script>
 
<input type="button" id="UseCaseButton" class="aui-button aui-button-primary" value="Create a UseCase!" />