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

JIRA version name/value not picked up by remote API

    XMLWordPrintable

Details

    Description

      Jira version variable not being picked up

      Followed the example on your main page. When i use the build with parameter link it pulls in the right versions and everything works

      But when the build is triggered externally  it triggers an error - see below
      ------------------------------------------------------------------------------
      FATAL: Unable to generate release notes for JIRA version $JiraBuild/PTP: com.atlassian.jira.rpc.exception.RemoteValidationException: Query validation failed: The value '$JiraBuild' does not exist for the field 'fixVersion'.
      AxisFault
       faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
       faultSubcode: 
       faultString: com.atlassian.jira.rpc.exception.RemoteValidationException: Query validation failed: The value '$JiraBuild' does not exist for the field 'fixVersion'. 
       faultActor: 
       faultNode: 
       faultDetail: 
      	{}com.atlassian.jira.rpc.exception.RemoteException:null 
      ------------------------------------------------------------------------------
      

      It cannot seem to find the $jiraBuild - Can anyone help?

      Attachments

        Activity

          rockaja sam rock created issue -
          rockaja sam rock made changes -
          Field Original Value New Value
          Labels jira plugin jenkins jira jira_plugin plugin
          rockaja sam rock made changes -
          Summary Jira version variable not being picked up - trigerring error Jira version variable not picked up in jenkins - but works with 'Build with parameters'
          warden Radek Antoniuk made changes -
          Link This issue is related to JENKINS-23139 [ JENKINS-23139 ]
          warden Radek Antoniuk made changes -
          Labels jenkins jira jira_plugin plugin
          warden Radek Antoniuk made changes -
          Environment Prod/Dev
          warden Radek Antoniuk made changes -
          Link This issue is related to JENKINS-23139 [ JENKINS-23139 ]
          warden Radek Antoniuk made changes -
          Labels confirmed
          warden Radek Antoniuk made changes -
          Assignee Radek Antoniuk [ warden ]
          warden Radek Antoniuk made changes -
          Labels confirmed confirmed jira-plugin-2.1
          warden Radek Antoniuk made changes -
          Summary Jira version variable not picked up in jenkins - but works with 'Build with parameters' JIRA version name/value not picked up by remote API
          warden Radek Antoniuk made changes -
          Description Jira version variable not being picked up

          Followed the example on your main page. When i use the build with parameter link it pulls in the right versions and everything works

          But when the build is triggered externally it triggers an error - see below
          ------------------------------------------------------------------------------
          FATAL: Unable to generate release notes for JIRA version $JiraBuild/PTP: com.atlassian.jira.rpc.exception.RemoteValidationException: Query validation failed: The value '$JiraBuild' does not exist for the field 'fixVersion'.
          AxisFault
           faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
           faultSubcode:
           faultString: com.atlassian.jira.rpc.exception.RemoteValidationException: Query validation failed: The value '$JiraBuild' does not exist for the field 'fixVersion'.
           faultActor:
           faultNode:
           faultDetail:
          {}com.atlassian.jira.rpc.exception.RemoteException:null
          ------------------------------------------------------------------------------

          It cannot seem to find the $jiraBuild - Can anyone help?
          Jira version variable not being picked up

          Followed the example on your main page. When i use the build with parameter link it pulls in the right versions and everything works

          {code}
          But when the build is triggered externally it triggers an error - see below
          ------------------------------------------------------------------------------
          FATAL: Unable to generate release notes for JIRA version $JiraBuild/PTP: com.atlassian.jira.rpc.exception.RemoteValidationException: Query validation failed: The value '$JiraBuild' does not exist for the field 'fixVersion'.
          AxisFault
           faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
           faultSubcode:
           faultString: com.atlassian.jira.rpc.exception.RemoteValidationException: Query validation failed: The value '$JiraBuild' does not exist for the field 'fixVersion'.
           faultActor:
           faultNode:
           faultDetail:
          {}com.atlassian.jira.rpc.exception.RemoteException:null
          ------------------------------------------------------------------------------
          {code}

          It cannot seem to find the $jiraBuild - Can anyone help?
          warden Radek Antoniuk made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 159809 ] JNJira + In-Review [ 196202 ]
          warden Radek Antoniuk made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            warden Radek Antoniuk
            rockaja sam rock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: