I want to write a macro with Scriptrunner. It should place a button over a table. On pressing that button i want to read some of the fields of that table and send it to a REST Service.
I know how to place that button from the examples provided from Adaptavist. I also know how to write groovy code to have a function to feed the REST Service.
I struggle where to put the groovy code, so that I can call it, when the button is pressed. Can sonone provide an example, please?