I am of course specifically referring to Script Runner.
I've seen lots of examples for looking at subtasks, and many examples of commenting on linked issues. I haven't seen a great example of accessing the parent issue and setting a comment there.
Specifically, the issue has a Closed status and Close Issue transition. Ideally, the event fires as a post-function of Close Issue.
Community moderators have prevented the ability to post new answers.
It's the same as any of the other examples for commenting on an issue, but you will pass to commentManager.create: issue.parentIssueObject instead of just "issue".
I'll scope it out, I think that was my issue, I didn't know how to access the parent object.
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.