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

Optional settings (like issueTitle, issueBody) are not optional in Job DSL

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When trying to use GitHub Issues Plugin with the Job DSL, I hit this issue:

      ERROR: (script, line 19) the following options are required and must be specified: issueTitle, issueBody, issueLabel, issueReopen, issueAppend
      

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Daniel Lo Nigro
          Path:
          src/dev/assets/work/jobs/test_jobdsl_seed/config.xml
          src/main/java/org/jenkinsci/plugins/githubissues/GitHubIssueNotifier.java
          http://jenkins-ci.org/commit/github-issues-plugin/2c2dd133d3e5009f24b630a6ea53ba58e5035d2a
          Log:
          Fix JENKINS-42482: Move properties from DataBoundConstructor to DataBoundSetter so that Job DSL treats them as optional

          References https://github.com/jenkinsci/slack-plugin/pull/236

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Lo Nigro Path: src/dev/assets/work/jobs/test_jobdsl_seed/config.xml src/main/java/org/jenkinsci/plugins/githubissues/GitHubIssueNotifier.java http://jenkins-ci.org/commit/github-issues-plugin/2c2dd133d3e5009f24b630a6ea53ba58e5035d2a Log: Fix JENKINS-42482 : Move properties from DataBoundConstructor to DataBoundSetter so that Job DSL treats them as optional References https://github.com/jenkinsci/slack-plugin/pull/236
          Hide
          daniel15 Daniel Lo Nigro added a comment -

          This was fixed in version 1.2.2 of the plugin.

          Show
          daniel15 Daniel Lo Nigro added a comment - This was fixed in version 1.2.2 of the plugin.

            People

            • Assignee:
              daniel15 Daniel Lo Nigro
              Reporter:
              daniel15 Daniel Lo Nigro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: