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

Jira plugin/ Post-build Actions - Jira: Create issue is no longer working

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • jira-plugin
    • None
    • Jenkins 2.280
      Jira plugin 3.1.3

      Hi, 

      I configured the Jira Plugin in our Jenkins instance. Created a basic free style Jenkins job, setup post-build actions Jira: Create issue and was able to successfully verify a used case "Create Jira issue on Build Failure through Jenkins" on April 28th 2021 . Please see the log below: 

      + write Hello World
      /tmp/jenkins7340580964673503742.sh: 2: /tmp/jenkins7340580964673503742.sh: write: not found  Build step 'Execute shell' marked build as failure
      Build failed, created Jira issue CMTPS-2
      Finished: FAILURE

      However, I have created a similar job today and it appears to me that the post-build action is not working anymore. 

      + write Hello World
      /tmp/jenkins15776115465421610461.sh: 2: /tmp/jenkins15776115465421610461.sh: write: not found   
      Build step 'Execute shell' marked build as failure
      Finished: FAILURE

      Also, when creating a new job and adding a post-build action "Jira: Create issue" the issue priority and issue type drop down is not populated anymore.

      I have verified the connectivity by clicking the  "Validate Settings" button in the Jira plugin settings and it has shown as "Success".

      Please advise. 

      Thanks! 

       

          [JENKINS-65891] Jira plugin/ Post-build Actions - Jira: Create issue is no longer working

          Hi Team,

          Do we have any update on this issue.

          Upgrading the java 11 also doesn't help on the same.

          Thanks,

          Prabhu

          Prabhu Ilamathi added a comment - Hi Team, Do we have any update on this issue. Upgrading the java 11 also doesn't help on the same. Thanks, Prabhu

          You could try configuring Apache HttpClient logging in Jenkins, to see whether the Jira plugin even attempts to send any request to Jira.

          Are you using Jira Cloud or do you host Jira yourself?

          Kalle Niemitalo added a comment - You could try configuring Apache HttpClient logging in Jenkins, to see whether the Jira plugin even attempts to send any request to Jira. Are you using Jira Cloud or do you host Jira yourself?

          Also, this may be a duplicate of JENKINS-65335.

          Kalle Niemitalo added a comment - Also, this may be a duplicate of JENKINS-65335 .

            warden Radek Antoniuk
            s5150 Salman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: