assign to the manager - custom attribute

Hi ,
I have added custom attribute called Manager.  I want to get the manager name automatically in the custom attribute and assign the ticket to manager for approval automatically.

Is this possible ? If yes, please guide us on this.

Thanks in Advance,

0
1 comment

Hello,

The Assignee field accepts the values of the Type: User. At the same time, the Custom attributes cannot be of this type. However, you can implement a workflow with the following workaround: You can use this custom attribute as a keyword for searching for the required user. For example, using this method: findByLogin()

So, in the `guard` section, this workflow will check if the issue is created in the current transaction. In the `action` section, you should find the manager (as I described above) and set it as Assignee (change the Assignee field value).

0

Please sign in to leave a comment.