Assign issue to current user on create?

Is it possible in Jira 6.1 to use a postfunction in "Create issue" to set Assignee to CurrentUser?

When setting values for a custom field I can assign the variable %%CurrentUser%%, but this option seems not to be available for system fields (like assignee).

2 answers

1 accepted

Hi Ingvar

This is possible, you just need to add the 'Assign To current user' post function on the Create Transition step in your workflow.

Check this documentation:

http://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-Applyingpostfunctionstotransitions

Hope it Helps,
Ricardo Carracedo.

Ah! I didn't see this option at the top of "Add Post Function To Transition" list! Was fiddling with the "Update issue field" at the bottom.

Now, the post function "Assign to Current User" does not work for me, the issue always gets assigned to project lead.

HOWEVER, "Assign to reporter" does the trick, it sets the reporter (who is current user) as the assignee.

Thanks for your reply.

(In "Create issue" use post function "Assign to reporter" since "Assign to current user" did for some reason not work for me.)

I found out why issue wasn't assigned to Current User. When adding postfunction "Assign to current user" it is automatically placed in 2nd position, after "Creates the issue originally". I had to move it up into 1st line to get it to work.

Suggest an answer

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

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

422 views 7 5
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