JIRA Service Desk rule (Server v3.7)

Karoleigh Miller October 17, 2018

I am trying to write a rule that checks if the reporter is the same as the approver.

 

If it is true i would transition the request accordingly.

 

Problem is i cannot seem to write a query that let's me see if these fields are the same....what am i doing wrong?

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

Hello,

You can not write such a JQL query out of the box. You would need an add-on for it. For example, you could use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could wirte a JQL query like this:

key in silJQLExpression('reporter == approver', 'project = TEST and issueType = \"Bug\"')
Karoleigh Miller October 17, 2018

I am new to Power scripts....how and where would I configure this?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2018

You do not need to confiugre anything. Just download the plugin, install it as an add-on and then go to the Issue Navigator and type the JQL query:

You can download it from here:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=server&tab=overview

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events