Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using script runner to evaluate if ticket is from Service Desk

Rodney Sawyer October 13, 2014

I want to use script runner's fast-track service to put a ticket into a particular status if the ticket comes directly from Service Desk.  I think I should be able to do this by checking that there is a value for the field "Customer Request Type" and can see that using JQL like this

"Customer Request Type" is not EMPTY

But am having trouble doing that.  I tried:

cfValues[‘Customer Request Type']*.value.contains("")

But obviously that does not work.

Anyone know how to do this?  

1 answer

1 accepted

1 vote
Answer accepted
JamieA
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 13, 2014

For non-empty, you just need:

cfValues[‘Customer Request Type'
Rodney Sawyer October 13, 2014

Thanks Jamie... you are always appreciated. I think it is missing a closing "]" but that is the right answer

JamieA
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 13, 2014

I blame the rich text editor ;-)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events