Default assignee back to ticket creator

I am not sure why Atlassian keeps changing default behaviour.

In version prior to 5.x default assignee was the ticket creator. Now it's "automatic".

How do we change it back to ticket creator?

2 answers

1 accepted

That script worked for me:

<script type="text/javascript">      
if (AJS.$("#assignee").val()[0] === "-1"){     
var loggedInUser = JIRA.Meta.getLoggedInUser();      
var assigneeSelect = AJS.$("#assignee");      
assigneeSelect.trigger('set-selection-value', loggedInUser.name); } 
</script>

we've been using Jira for a number of years, and this is the first time we have encountered this, so maybe the default behaviour wasn't the same in version 4.0, but it was for us, maybe due to upgrades.

Where do I stick this Javascript?

Again, the default behaviour has not changed. It must be something in your installation that has stopped working, so it's gone back to the defaults.

Christian's code should work in the description of any field on the screen.

0 votes

>In version prior to 5.x default assignee was the ticket creator

Nope, that's something in your install. The v4 installs I look after all have "automatic". It's not changed. (I don't remember seeing a setting for it though)

Maybe you've got some javascript in your v4 which changed it to reporter and it has stopped working in v5?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,857 views 2 7
Join discussion

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