Hi Anu,
The name and email fields appear after the "customizable" fields (the ones in the Create screen for the issue type of the collector you've set up) and aren't movable in the Jira interface. If you've got matching set up and the user has an active Jira session, the collector will auto-populate their name/email based on their active Jira session.
While you can't configure the order of the name/email fields in the Issue Collector's settings, you can use jquery/javascript to move them around once you've embedded it on another page. Advanced use of the Jira issue collector shows some examples of manipulating the issue collector with a javascript injection. Using jquery, you can target the name/email fields, detach them from their current position, and insert them between two other fields (or before all the other fields) farther up in the form. Here's a tutorial on doing that in jquery if that all sounded unfamiliar.
Cheers,
Daniel
Hey Daniel,
I know just enough jQuery to be dangerous but I am struggling to implement this solution. I have a number of collectors that can be fired from a single HTML site.
Where would I put the jQuery in that case?
Any chance you have an example of what it would look like using jQuery to move a field on an HTML site with a custom trigger?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Through multiple attempts and research it seems like this is not, in fact, possible. Perhaps this is a change in the way that browsers handle jQuery injection since this post was initially made but it seems as if browsers, like Chrome, prevent this sort of injection out of security against XSS attacks.
Here is a Stack Overflow where this is discussed: Stack Overflow: jQuery Injection
Its a shame that there isnt more flexibility available in the Issue Collector tool as it is extremely powerful, and could be even more so with added customization.
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.