Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why does this not work: issueFunction in expression("", "creator = reporter")

Helle Overbeck August 22, 2018

According to Scriptrunner guide this is a valid expression

issueFunction in expression("", "creator != reporter")

 But I would like to find all issues where creator and reporter are the same. I tried

issueFunction in expression("", "creator = reporter")

But get this error

Token ("=" at 1:10: "=" ) is not allowed

Is there any other way to find issues where two fields are identical? 

1 answer

1 accepted

4 votes
Answer accepted
Mihamina
Contributor
August 22, 2018

Would you try "==" an see if it works ?

Helle Overbeck August 22, 2018

It works :-)

Thank you very much!

Mihamina
Contributor
August 22, 2018

Please upvote :-p

Suggest an answer

Log in or Sign up to answer