I have a script set up to pull attachments and send them off to get graded for content. Currently, it is set to key off one test issue. I would like to know how to get the script to know which issue called it and pull the correct attachments.
Where is your script placed? Workflow post function or Script listener?
In the former, using issue should return you the exact issue whereas with the later, you can check it with event.issue which shows you the issue which triggered the event.
Knowing where you placed the said script makes it easier to suggest.
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