Jira data center addOn(plugin using Java) which act as a Application user to assign issues to the users

Hi,

My requirement is - Jira data center addOn(plugin using Java) which act as a Application user to assign issues to the users.
How the application user will be created through programmatically or through XML configuration(atlassian-plugin.xml).
How to assign the permissions(Issue Assignable) to that application user?

Did anyone have any idea on this?

Thank you,
Mahesh