JIRA - How do I allow a user selected assignee to override default assignee (reporter)

lee rosenberg December 9, 2013

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?

2 answers

0 votes
RambanamP
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.
December 22, 2013

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

0 votes
Ubisoft
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.
December 22, 2013

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>

Suggest an answer

Log in or Sign up to answer