Using script runner to evaluate if ticket is from Service Desk

Rodney Sawyer Community Champion Oct 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

For non-empty, you just need:

cfValues[‘Customer Request Type'
Rodney Sawyer Community Champion Oct 13, 2014

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

I blame the rich text editor ;-)

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

56 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot