Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Jenkins (2.107.2)
jira-steps-plugin (1.3.1)
Description
After having installed Jenkins (2.107.2) on my PC with jira-steps-plugin (1.3.1), I noticed that in order to parse the response of JIRA queries (for example jiraJqlSearch), the Jenkins administrator needs to manually approve this method on the "in-process script approvals" page:
method org.thoughtslive.jenkins.plugins.jira.api.ResponseData getData
I even tried out one example on the official documentation and the approval is still required: https://jenkinsci.github.io/jira-steps-plugin/getting-started/examples/new_fix_version/
It would be better if this method was part of the Jenkins default whitelist, or if the plugin installation automatically adds it
If this cannot be done for some reason, then the official plugin documentation should mention it on the configuration section.
Thanks.
rbejaran_swi Agree, we could have mentioned it in the docs, would you mind making a pull request for this change? or I will get to it once I have a moment.
I will have this open to programmatically whitelist the method. Thanks for reporting this issue.