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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.