Using the "Set field value (JMWE app)" post function I need to set the assignee based on the select type custom filed
Custom Field 1: "MRT Station" (Nort Ave, Quezon Ave)
If "MRT Station" selectedValue = Nort Ave set Assignee = "Admin"
If "MRT Station" selectedValue = Quezon Ave set Assignee = "Developer"
What is the proper syntax for this? I am struggling with it. Thank you
You can use a value like:
{% if issue.fields["MRT Station"].value == "Nort Ave" -%}
accountId:12345-6789-123
{%- elif issue.fields["MRT Station"].value == "Quezon Ave" -%}
accountId:7890-123-1334
{%- endif %}
You'll need to replace the accountId values with those for the two users. You can find the accountId for a user using the "Lookup user" button on the editir toolbar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.