Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for extracting related JIRA environment variables #834

Merged
merged 1 commit into from
May 6, 2016
Merged

Add support for extracting related JIRA environment variables #834

merged 1 commit into from
May 6, 2016

Conversation

arhohuttunen
Copy link
Contributor

The JIRA plugin support was missing this feature implemented in version 2.2 of the plugin.

@arhohuttunen
Copy link
Contributor Author

Since I'm still unable to login to Jenkins JIRA to create an issue I'll elaborate on this pull request a bit more.

Typical usage:

  1. Add this build step
  2. Use the Progress JIRA issues by workflow action or Move issues matching JQL to the specified version with JQL like:
    issue in (${JIRA_ISSUES})

This allows us to handle only JIRA issues related to the change set.

@arhohuttunen arhohuttunen changed the title Added support for extracting related JIRA environment variables Add support for extracting related JIRA environment variables May 4, 2016
@arhohuttunen
Copy link
Contributor Author

Also, for anyone interested there is a workaround for current vesion. Add this in your job:

configure { project ->
    project / prebuilders << 'hudson.plugins.jira.JiraEnvironmentVariableBuilder'(plugin: 'jira@2.2.1')
}

@daspilker
Copy link
Member

Look good. Please squash your commits to a single one.

@arhohuttunen
Copy link
Contributor Author

Done.

@daspilker daspilker merged commit 797a63c into jenkinsci:master May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants