Assign issue using specific field value

Issue #665 resolved
Scott McDonald created an issue

Based on a certain transition in the workflow, when that button is selected, I would like auto assign the issue to the hiring manager (which is a user picker (single user) type). Is that possible with the set the field as a function of other fields?

Another requirement would be if a separate field called exec assistant has a value in there, we would like to assign the ticket to that exec assistant rather than the hiring manager. The file is a user picker (single user) type as well.

Thank you, Scott

Comments (4)

  1. Fidel Castro Armario repo owner

    In order to assign an issue to the user selected in a User Picker, you should use Copy a parsed text to a field post-function with following configuration:

    • Target field: Assignee
    • Parsing mode: basic
    • Text to be parsed...: %{nnnnn}

    where nnnnn is the field code of the User Picker custom field.

    In order to implement the more complex behavior you described you can use the following configuration:

    • Target field: Assignee
    • Parsing mode: advanced
    • Text to be parsed...: %{aaaaa} != null ? %{aaaaa} : %{bbbbb}

    Where aaaaa is field code for exec assistant custom field, and bbbbb is field code for hiring manager custom field.

  2. Log in to comment