I’m looking for a working example code for a Jira request (e.g. create new issue) using the “Jira Scripting API” macro.
I’ve installed the “Jira Macro” and “Jira Administration” and they both work. - At least I can display processes using the Jira macro.
However, since we also want to create processes from xwiki, “Jira Scripting” would be ideal - especially since the creation is done with a dedicated user and the authentication data should not be displayed to the user.
I’ve been playing around a bit with the groovy and velocity examples and it seems that the “NullProgressMonitor” class is no longer available in the JIRA REST Client library.
Therefore, I left out the ProgressMonitor and got the following code snippets: