HI,
I need help to write the script to use for the following example.
I have an issue type within a project with four different sub-tasks that can be created. Each of the sub-tasks needs to be automatically assigned to a particular user. I have inserted a post-function into the workflow which I want to run a script so that:
If issuetype = 1 then make assignee = userA,
If issuetype = 2 then make assignee = userB,
If issuetype = 3 then make assignee = userC,
If issuetype = 4 then make assignee = userD
I am really unsure of how to write the full script that would do this, can anyone please assist?
Many Thanks