Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jenkins for Jira is detecting builds but isn't pulling issue IDs from branch names or commit message

Edited

I've configured Jenkins for Jira on both the Jenkins side and the Jira side, and I'm able to see builds coming through in the Manage Apps section in Jira, however, the branch name for the PR, title of the PR, and commit IDs doesn't seem to be getting seen because I don't see anything in the Development section of the individual tickets:

Screen Shot 2022-07-06 at 10.34.13 AM.png

Screen Shot 2022-07-06 at 10.43.49 AM.png

Screen Shot 2022-07-06 at 10.44.44 AM.png

 

On the jenkins side, I have a multi-branch pipeline that watches PRs on github and runs checks/tests when PRs are created/updated. As far as I can tell, the documentation says "The development panel on your Jira issues will update to show any associated build and deployment information, as long as your team is including issue keys in their pull requests, commit messages, and branch names.", so I'm not sure if I'm missing something. In all of these PRs, the issue key is in the PR title, branch name, and also in commit messages associated with that PR/branch.

 

Has anyone run into this issue before?

 

3 answers

0 votes
Mark Rekveld - Marvelution
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Nov 17, 2023

I have seen similar issues myself as well. Also for the Jenkins Integration for Jira app I develop.

Some times the commit messages itself are not processed as expected so even is developers add the issue keys to commit messages.

There for I opted to extend searching for issues key to other elements as well like job names, urls and other common places where issue keys can be found in Jenkins.

If I'm not mistaken the plugin of Atlassian only looks in the commit messages this could be  a reason for not seeing the builds show up.

We're facing the same problem on the first run of the jenkins build for PR builds. The problem I believe is due to the PR branch itself which is created by the multipipeline jenkins plugin being identified as a Jira Issue Key, i.e. PR-223. 

Unfortunately, I do not see a way to override the `issueKey` pattern for the Jira Software Cloud Plugin.

We also have this problem on the first run of the jenkins build.

We're also experiencing this issue at our company, where the issue_keys are in the pull-request as commit messages and in branch names, but nothing is showing up.

For us, the issue is happening in the Jenkins pipeline. We us the Jenkins Jira Cloud Plugin, and on the jiraSendDeploymentInfo step, we recieve this error: 

SKIPPED_ISSUE_KEYS_NOT_FOUND_AND_SERVICE_IDS_ARE_EMPTY

The plugin itself is open source, but I haven't had the time / resources to identify where this bug is happening.

https://github.com/jenkinsci/atlassian-jira-software-cloud-plugin

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events