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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

No such property: issues for class (after update to Jira 8.5.1) Edited

Hello, everyone!

There is a line in our automation script:

issues = searchResult.issues.collect { issueManager.getIssueObject(it.id) }

 

After updating Jira to version 8.5.2, when I execute the script, I get an error:

groovy.lang.MissingPropertyException: No such property: issues for class: com.atlassian.jira.issue.search.SearchResults


Maybe someone has already solved this problem?

 

1 answer

1 accepted

3 votes
Answer accepted

Hi ALeksandr,

 

Could you please try to change the following line:

issues = searchResult.issues.collect { issueManager.getIssueObject(it.id) }

 

and use this one?

issues = searchResult.results.collect { issueManager.getIssueObject(it.id) }

 

Best Regards

Jack, It works.

Thank You so much.

You are welcome ;)

Did my answer solve your problem?

If so, consider to mark the proposed solution as an 'Accepted answer'. This will help other people with the same or a quite similar problem to find a solution in a easy and faster way.
Otherwise, if you solved the problem in a way that hasn't been suggested yet in this thread, please I encourage you to reply your original message to tell us what was the final solution for the problem, you can also mark your own reply as an 'Accepted answer'.

In addition, by doing this the post will automatically gain the "Solved:" prefix in search results to indicate other people that no further support is needed.

Kind Regards.

Jack it saved my day thanks.

You're welcome

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

260 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you