I want to assign the issue to the reporter (default), unless the user wants to assign
it to a different user (assignee field is shown on workflow screen).
Any suggestions?
you can write a postfunction and assigne it to reporter if the assignee is empty
you can do this using script runner plugin also,
https://jamieechlin.atlassian.net/wiki/display/GRV/Script+Runner
Hello,
You could add this into your field configuration. Add the reporter by default when create issue :
<script type="text/javascript"> jQuery(document).ready(function($) { JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) { setAssignee(); }); setAssignee(); function setAssignee(){ var setUser = AJS.$("#reporter-field").val(); alert (setUser); AJS.$("#assignee-field").val(setUser); } }); </script>
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.