I have written a post script which I want to call and get all the fields value in the Jira incident and send that post request.
Questions:
1. How get the values of all the fields in groovy script in script runner.
2. How to find out submit has been clicked because on click on that event we want to trigger this script to run.
3. How to call POST service from script runner.
Hi Andrew,
Thank you for your question.
I have created an example Script Console script which can be ran from the Script Console and shows how to link two issues together.
You can view the example script here and can use this example code as a reference to see the syntax that must be specified to link issues together so that you can use this approach inside of your script.
If this response has answered your question can you please mark it as accepted so that other users searching for a similar question can see that this is a correct answer.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.