I have created a Confluence plugin to provide a macro. Within this macro, I wish to create a JIRA issue and set a number of fields based on stored page properties. I have an Application Link to my JIRA instance and would like to use this object to remotely create the JIRA issue.
From the java macro plugin, how can I retrieve the Application Link object in order to send my request to JIRA?
I did get this working after sorting out the Spring Scanner versions and using it to inject the ApplicationLinkService into my macro constructor. From there it was straight forward as long as I stuck to 2 legged auth.