The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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