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

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

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 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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 29, 2019 in Jira Software

Transforming Jira Software projects for general project management purposes

...It's true that there are projects in Jira; but they are merely a way to cut off issues, to tell them apart from other sections of work and to apply rules that are specific to that team (the schemes)....

206 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you