Hi.,
I have below Query, Please clarify us.
I have a Drop Down Custom Field(Are you Existing Customer?). In Drop Down there are two Fields: Yes and No.
While creating an issue, If Customer, Select below Drop Down in Create Issue Screen then issue Auto Assign as below.
Are you Existing Customer: Yes / No.
If Yes, Issue Auto Assign to "USER A".
If No, Issue Auto Assign to "USER B".
Please suggest us, How to do this in both ways (by using Plug-in and Scripting).
Thanks.
Hello,
You would need a plugin for it.
For example, you could use the Power Scripts plugin:
You could create a SIL post function with a code like this:
if (#{Drop Down} == "Yes") {
assignee = user1;
}
if (#{Drop Down} == "No") {
assignee = user2;
}
You can read more about the SIL post function here:
Hi Alexey,
I am new to scripts..Can you please provide full script.
Custom Field name (Drop Down): SIL Customfield.
Usernames also same as user1, user2.
I got below errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cloud you paste the errors here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.