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

Jira integration not working on any version higher than 3.15 with exact same configuration #72

Closed
avivek opened this issue Apr 13, 2022 · 3 comments
Labels

Comments

@avivek
Copy link

avivek commented Apr 13, 2022

Jenkins and plugins versions report

Environment
Jenkins 2.332.2
Plugin version > 3.15
Ubuntu 20 LTS OS

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu 20 LTS

Reproduction steps

With the exact same configuration jira issue attributes are successfully fetched from jira with plugin version 3.15 but on any higher configuration looks like no jira API calls are made.

The difference by looking through the commits after 3.15 in this repo is a dependency change for changelog-lib from 1.163.3 to 1.164.2

On scanning through the commits from the changelog-lib from 1.163.3 to 1.164.2 while am not fully sure there seems to be a relevant change in the below commit that could be causing the issue:
tomasbjerre/git-changelog-lib@632fa0b

Can you please check the same??

Expected Results

Jira integration should work successfully and issue details to be fetched from Jira.

Actual Results

No details are fetched from Jira and neither are there any errors in the console log or the jenkins master system log.

Anything else?

No response

@avivek avivek added the bug label Apr 13, 2022
@esevland
Copy link

esevland commented May 6, 2022

Same issue here. Environment:

Jenkins 2.332.3
Plugin version > 3.15
Ubuntu 18.4 LTS OS

@vtwaldo21
Copy link

OMG, thanks so much for documenting the work around to downgrade. Pulling my hair out thinking I had configured something wrong. There are 0 error messages anywhere!

To piggy back on @avivek 's sleuthing, i think the issue is simply in GitChangelogStep.java, there lacks a line for "withUseIntegrations(true)" for the jira and git code blocks. it is only in the redmine block (do people still use redmine?)

I would create a PR and fix it, but java is not my cup of tea and wouldn't know where to start.

Another workaround is to provide a garbage redmine entry, and that sets the boolean useIntegrations that is used by JIRA as well. At that point, the JIRA integration works again. I added this to my pipeline,

redmine: [server: 'localhost'],

And version 3.24 works perfectly fine now for JIRA.

@tomasbjerre
Copy link
Collaborator

Thanks for pointing that out @vtwaldo21 ! This issue should be fixed now. Open issue again if not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants