I am trying to modify a work flow to set the Request Type to a specific type on creation of a new work item based on a value that gets passed from the trigger issue :
{% if (issue.fields["QA Score"] | default(0)) < 100 and (issue.fields["QA Score"] | default(0)) > 89 %}
{{issue.fields["Request Type"].requestType.name}} = "QA: Minor"
{% endif %}
That's what I am trying to use and maybe there is a better way to do this and would love some input on this.
Hi David,
Are you using JMWE? Is there a reason you are trying to use a Post Function instead of an Automation rule?
Hi @David B
I think you can use Jira Automation.
Just use Work item fields condition.
Select QA Score less then 100 change request type (via JSON edit) to QA: Minor.
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.