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.
Community moderators have prevented the ability to post new answers.
Hi Mariana,
We have example scripts on our new website that detail how to set custom field values. Take a look here: https://library.adaptavist.com/entity/update-the-value-of-a-custom-field-in-jira
Have you actually tried running the script? The static type checker may tell you there's an error, but it'll probably work anyway.
Thanks,
Josh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.