I need to add a user as a default assignee other than the Project Lead or Unassigned. For that I tried to add a post-function in the workflow with the field "Assignee" set to the "username". But it didn't work. Can anyone please provide any further suggestion how to do this.
Are you using components? If not you could create a component and assign a component lead. Then use a post-function to set the default component when you create the issue.
I am surprised the setting the assignee in the postfunction did not work. Are you sure there was no other postfunction that was overwriting your assignment? You may have to change the order of the postfunctions and move your postfunction down the list.
Sorry but I didn't get your point. Because if the user has Assignable User permission in the permission scheme for the relevant project then whenever an issue is created in the project then the issue should be assigned to the user as per the defined post function in the workflow.
So is there anything else that has to be taken care of.
There are two relevant permissions. Assign Users and Assignable User.
The person that executes the transition which contains the post function will need to have the Assign Users permission. And they can only choose users that have the Assignable User permission.
Just make sure that the person executing the transition can also assign users.
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot