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.
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...
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