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).
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:
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.
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...
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!
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