Hi!
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
You should be able to use a magic property in the web-item, if you are on the issue view. If you look at this example (taken from the Jira source code), you will see that you can use ${issue.id} in the link: