Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to associate Jenkins for Jira app to a specific project?

Nguyen Tu Anh April 17, 2025

I used Atlassian Jira Software Cloud (plugin on Jenkins) to connect the webhook from Jenkins for Jira (app on Jira). The connection via webhook is established. Now I encountered the issue "don't know the outcome of sending the build/deployment data to Jira". Currently, I just want to test without GitHub.

Although the "Jenkins server management" tab shows that the pipeline status is successful build. But nothing changes in my issue whose issueKey was initialized in the "branch" parameter of Post-build Actions step. (I used the Freestyle Job type).

 

Moreover, I could not find the Jenkins for Jira in a specific project. I just can see it in the App tab which displays with the admin role on Jira. I can not find this app in Development Tools either.

 

So:

- Where is the result I could check?

- What exact information will be sent to my issue on Jira? 

- How to associate this app with Development Tools in my specific project?

 

1 answer

0 votes
Mark Rekveld - Marvelution
Atlassian Partner
April 18, 2025

Hi @Nguyen Tu Anh 

There are two things to know for the official integration.

  1. It only works with multi branch pipelines job types
  2. It gets issue/work item keys are collected from SCM information like branch names and commit messages.

- Where is the result I could check?

You can check your build console log and Jenkins logs to see iff the integration is working. (I'm not completely sure if the Jira app has a log/event history that you can check.

- What exact information will be sent to my issue on Jira? 

This typically only includes job names, descriptions and generic build information like execution time, duration, test results, references to commits of issues.

- How to associate this app with Development Tools in my specific project?

The Jenkins app is not listed under Development Tools, this section is more for SCM tools like Bitbucket and Github.

Typically you don't associate the Jenkins app with a project, but instead associate builds to work items (issues) this way results become available in the Development Status panels in Jira.

 

Upfront disclaimer, I'm the maintainer of the Jenkins for Jira, the original, app.

The Jenkins for Jira app does support freestyle jobs, and any other job type, and also has more locations where it searches for work item/issue keys.

More then happy to just on a call to discuss options for you but with the official and my app.

Nguyen Tu Anh April 20, 2025

Thank you for your response.
According to your information, the Jenkins for Jira app might not meet our expectations. However, the information that Jenkins will receive from Jira is ok (question 2 above).

This information—job names, descriptions, and generic build information like execution time, duration, test results, and references to commits of issues—will appear in the issues. Do I need to add new fields for this information? Or it will present itself?

"Typically you don't associate the Jenkins app with a project, but instead associate builds to work items (issues) this way results become available in the Development Status panels in Jira." - You said. The "Deployment status" is Project > Operation > Deployment in the project settings, right?

 

Mark Rekveld - Marvelution
Atlassian Partner
April 21, 2025

Do I need to add new fields for this information? Or it will present itself?

You don't need to create custom fields for this. Build data is stored outside of issue fields.

You said. The "Deployment status" is Project > Operation > Deployment in the project settings, right?

No, I mean the Development Status panels when you view an issue. See these docs from Atlassian, https://support.atlassian.com/jira-software-cloud/docs/view-development-information-for-an-issue/

Nguyen Tu Anh April 23, 2025

Hi Mark, I suppose that I need to ask you more about how to use this tool for my specific scenario. May I make a call with you?

Mark Rekveld - Marvelution
Atlassian Partner
April 24, 2025

Hi @Nguyen Tu Anh 

Sure thing, we can schedule a call, go to marv.li/demo

Looking forward to discussing your specific needs.

Nguyen Tu Anh April 24, 2025

I have scheduled a call. 

Moreover, I'm trying to specify a "deployment stage" in my freestyle job on Jenkins.

I could send the build information (by action "Send build information to Jira" at Post-build step) like the picture below.

bVBlggaYMd.png

But I can not find the corresponding action for sending deployment information (something that looks like "Send deployment information to Jira"). 

Is there any way that I can send deployment information?

Mark Rekveld - Marvelution
Atlassian Partner
April 25, 2025

I'm not sure where that action comes form, but it is not from my app.

My app doesn't use post build actions to send build/deployment information to Jira, instead it uses a generic event listener for all builds, and it uses a Deployment Build Marker to mark a build as a deployment to populate the deployment information in Jira.

Suggest an answer

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

Atlassian Community Events