Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×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?
If you are referring to Automation in Jira, I want to try and avoid using that because I do not know how many times it would run in a month and I do not want to burn through our monthly allotment.
We are using JMWE but it did not seem to be working for some reason, turns out the reason was me. I had to change the Run As setting on the JMWE rule and it worked fine.
Also thanks for the reply John!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Oleksii - I am a little confused by what you mean but it turns out I was able to do it with JMWE once I resolved my own user error :) Thank you for the reply.
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.