Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50764

JIRA steps plugin requires In-process script approval

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • jira-steps-plugin
    • None
    • Jenkins (2.107.2)
      jira-steps-plugin (1.3.1)

      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.

            nrayapati Naresh Rayapati
            rbejaran_swi Raul Bejaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: