Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
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?
Code changed in jenkins
User: Radosław Antoniuk
Path:
src/main/java/hudson/plugins/jira/JiraSite.java
src/main/java/hudson/plugins/jira/Updater.java
src/main/java/hudson/plugins/jira/listissuesparameter/JiraIssueParameterValue.java
src/main/java/hudson/plugins/jira/versionparameter/JiraVersionParameterValue.java
src/main/resources/hudson/plugins/jira/listissuesparameter/JiraIssueParameterDefinition/index.jelly
src/test/java/hudson/plugins/jira/UpdaterTest.java
http://jenkins-ci.org/commit/jira-plugin/422af63443f627be79587f926fb7f2f1845e3170
Log:
Merge pull request #67 from jenkinsci/parameters_fix_
JENKINS-25828_JENKINS-12578JENKINS-12578JENKINS-25828Compare: https://github.com/jenkinsci/jira-plugin/compare/05b55a729eef...422af63443f6