Good day team,
I am looking for a query that finds all issues I approved. The thing is approval happens on various statuses and I would like to only find the tickets where I clicked the approve in the JSM ticket.
I came across queries where they referenced the approver field
approver = currentUser() or approver was currentUser() and status in (statuses after potential approval)
I have scriptrunner and saw there was meant to be an isuse function like:
issueFunction in approvedIssues() AND approver = currentUser()
Does anyone have a suggestion how I could achieve the following?
Thanks.