Hello community.
Need a little bit of help with parsing groovy.
Putting together auto-answer script for one of my customer. The goal is, to return a comment with number of incidents AND urls for accessing them from Customer Portal URL for matching JQL. I did all of the scripting, I can find the issues and return number of results. What I am unable to find out is the way, how to process and return the list of URLs for results. (could be more tickets).
Right now I am ending with variable of:
Your script ran successfully against issue FOO-0001
Result type:
<a href="http://nope" target="_blank" rel="noopener nofollow noreferrer">Collections$UnmodifiableRandomAccessList</a>
Result value:
[DocumentIssueImpl[issueKey=FOO-0001]]
What I am looking for, is to iterate over the results and get list URLs.
Thanks in advance :-)