I created simple endpoint for generate PDF. It works, but I wanna send Issue ID to this API when I click the web-item button on Issue page , ex. (I am in Issue page with ID 123) /rest/example/1.0/export/pdf?id=123
It is possible to do that?
Now It looks something like that:
<web-item key="export-issue-pdf" name="Export PDF" section="jira.issue.tools" weight="200"> <label>PDF</label> <link linkId="export-issue-pdf">/rest/example/1.0/export/pdf</link> </web-item>