Is it possible to prepopulate the Summary field in an issue collector?

DI2E Licensing
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2015

We have an issue collector.  Works great.  Would be even better if we could pre-populate the Summary field.  Anybody know if this is possible?

1 answer

0 votes
Ivar Anneljas August 31, 2015

Hi! 

Yes it is possible to prepopulate the fields. smile 

https://confluence.atlassian.com/jira/advanced-use-of-the-jira-issue-collector-296092376.html 

 

window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
	// ==== custom trigger function ====
	triggerFunction : function( showCollectorDialog ) {
		$('#feedback-button').on( 'click', function(e) {
			e.preventDefault();
			showCollectorDialog();
		}); 
	},
	// ==== we add the code below to set the field values ====
	fieldValues: {
 		summary : 'Feedback for new website designs',
		description : 'The font doesn\'t quite look right',
 		priority : '2'
	}					
});

Ivar smile

Dean Robinson May 15, 2019

Hi Ivar/Others,

Looking to use this solution for setting the Summary field contents on our Collector. However, was thinking about how you would do it if we want to combine some of the form data into the Summary field contents.

For example, one of the Collector Form fields might have Name data in it and we want to make the Summary field content contain static prefix of "Customer Issue:" and then combine it with form data for Name to get Summary Field content of "Customer Issue: Fred Blogs" as an example.

Thoughts?

Regards,

Dean

Suggest an answer

Log in or Sign up to answer