For the work I am doing, I am creating a system to simplify the amount of information that the user has to input, while still allowing them to raise tickets.
I have been using this guide here:
https://confluence.atlassian.com/jirakb/how-to-create-issues-using-direct-html-links-in-jira-server-159474.html
in order to assist me in building a URL, and I have successfully added most of what I need (components, labels, etc.)
However, what I couldn't find an answer for, is if it possible to fill in the field which allows you to link the bug to a story?
For example, when I raise a new bug, I want the field to always be "Defect of" and the issue link field to always be the story with the ticket number "ABC-123" for example.
Is this possible to do? If so, what does the HTML syntax within the url look like, similar to how I would simply use &labels="PetShelter" to automatically add the "PetShelter" label to the ticket.