Forums

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

find unassigned issue scriptrunner

Matthew Gaffney
Contributor
August 9, 2019

We are trying to act on issues that are unassigned at creation and route them to specific people. I've attempted several different options but this is where I'm at currently

 

def currentAssignee = issue.getAssignee()

(currentAssignee = null)

 

However this doesn't seem to be working for me. 

 

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
PD Sheehan
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.
August 9, 2019

Try (currentAssignee == null)

Matthew Gaffney
Contributor
August 12, 2019

Thank you! I spent so much time and was missing one character. Takes me back to programming homework in college. 

Suggest an answer

Log in or Sign up to answer