The issue creator as default assignee - how to?

Hi All,

is it possible in JIRA that the creator of an issue would be the default assignee? THere is a project where most of the users raise issues for themselves. When they raise the issue and set the assignee it will automatically changed to the default assignee.

How can we do that?

Thanks, Rumi

4 answers

1 accepted


In the workflow, add the postfunction "Assign to Reporter" at create tranistion (Assuming the creator is always same as reporter)



2 votes
Henning Tietgens Community Champion Apr 18, 2013

You can use the Script Runner plugin and the following simple scripted postfunction




issue.assignee = currentUser

as part of the create transition. If the user doesn't change the assignee, the issue is assigned to the current user. If it's changed, the assignee choosen by the user is the assignee.


Hey Henning,

i'd like to implement your suggestion but I am pretty new to script runner. Can you give me a more step by step help to implement this?



Henning Tietgens Community Champion Mar 11, 2016
  1. Install Script Runner for JIRA
  2. Edit your workflow (in text form).
  3. Click on the step name of the first status, usually "Open".
  4. Click on "Create Issue" incoming transition.
  5. Click on "Post Functions" tab.
  6. Click on "Add post function" link.
  7. Select "Script Post-Function" radio button, click on "Add" button
  8. Click on "Custom script post-function" link.
  9. Enter inline script

    if (!issue?.assignee) {
    	issue.assignee = currentUser
  10. Click on "Add"

  11. Publish workflow.


Hi Henning,

thanks a lot for comming back to me. I tried it but i cannot find an option for entering an inlin script. I can preselect some options or define a path to a script. How do I enter an inline script?



Henning Tietgens Community Champion Mar 18, 2016

Hi Thomas,

in my version there is a (dark blue) inline script field. Did you follow the instructions step by step?


Hi Henning,

I did it step by step, but i do not see a dark blue inline script field.

I run JIRA version 6.0.8

Script Runner 2.1.15

Is there maybe some additional configuration within script runner nessecairy?




Henning Tietgens Community Champion Mar 28, 2016

Hi Thomas,

in your Script Runner version you have to create a script file on your server (e.g. AssignToMeIfUnassigned.groovy) and enter the path to this file (incl. file name) within the field "Script file path". The content of the script file is the same as the inline script above.



They can also just click the assign to me link underneath the Assignee dropdown box. Then both your workflows are possible.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,965 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot