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?
Hi!
Yes it is possible to prepopulate the fields.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.