Professional Documents
Culture Documents
Automate What Build and Deployment Events Are Sent From Jenkins To Jira - Jira Software Cloud - Atlassian Support
Automate What Build and Deployment Events Are Sent From Jenkins To Jira - Jira Software Cloud - Atlassian Support
https://support.atlassian.com/jira-software-cloud/docs/setup-decisions-necessary-when-connecting-jenkins-to-jira-software-cloud/ 1/6
4/4/24, 17:52 Automate what build and deployment events are sent from Jenkins to Jira | Jira Software Cloud | Atlassian Support
This topic details an optional step in the process of Set up Jira Software
connecting a Jenkins server to a Jira Cloud site using Cloud
Jenkins for Jira. This step is not necessary to complete a Learn how Jira products
connection and get data flowing, and relies on a good work
working knowledge of how Jenkins pipelines are made. Use Jira Cloud with
Some teams may find it useful when setting up a other Atlassian products
connection to a Jenkins server running a large number of Use Jira Cloud with
pipelines. other applications
When using the Jenkins for Jira app to send build and Automate what build
deployment events from a Jenkins server to Jira, the and deployment events
Atlassian Jira Software Cloud plugin on your Jenkins server are sent from Jenkins
will look for explicit instructions in your server pipelines to to Jira
send data to Jira. Specifically, it will look for these
instructions in the Jenkinsfiles that define those pipelines.
On this page
These instructions are detailed in the set up guide Is automation
generated in Jira when you connect to a Jenkins server. appropriate for your
In addition, when setting up the Atlassian Jira Software team?
Cloud plugin on your Jenkins server, a Jenkins admin can Setup options
opt to enable the following advanced options: Send build data
Send builds automatically automatically
Send deployments automatically Send deployment data
When these options are selected, the Atlassian Jira automatically
Software Cloud plugin will look for explicit instructions in
your pipelines Jenkinsfiles, as well as particular naming Community
conventions for build and deployment stages in those. If it Questions, discussions,
finds either of these, it will send data to connected Jira and articles
sites. For more information see How Jenkins for Jira works.
to prod' ), and so on
Setup options
If your team:
1. Wants Jenkins to send build updates to Jira
every time it runs a pipeline.
2. Has a consistent naming structure for build
stages when writing Jenkinsfiles.
For example, if every build stage is called
stage('build')
If your team:
1. Want Jenkins to send build and deployment
updates to Jira every time it runs a pipeline.
2. Do not have a consistent naming structure for
build stages when writing Jenkinsfiles.
You or your Jenkins admin should:
Enable this option
Leave the regular expression filter field empty
If your team:
1. Want granular control of each pipeline that
sends data to Jira
You or your Jenkins admin should:
Disable this option
If your team:
1. Have a consistent naming structure for
deployment stages when writing Jenkinsfiles.
For example, if every deployment stage is
called stage('deploy to staging') ,
https://support.atlassian.com/jira-software-cloud/docs/setup-decisions-necessary-when-connecting-jenkins-to-jira-software-cloud/ 4/6
4/4/24, 17:52 Automate what build and deployment events are sent from Jenkins to Jira | Jira Software Cloud | Atlassian Support
If your team:
Does not have a consistent naming structure
for deployment stages when writing
Jenkinsfiles, or
Want granular control of each pipeline that
sends data to Jira
You or your Jenkins admin should:
Disable this option
Additional Help
Ask the Community
https://support.atlassian.com/jira-software-cloud/docs/setup-decisions-necessary-when-connecting-jenkins-to-jira-software-cloud/ 5/6
4/4/24, 17:52 Automate what build and deployment events are sent from Jenkins to Jira | Jira Software Cloud | Atlassian Support
https://support.atlassian.com/jira-software-cloud/docs/setup-decisions-necessary-when-connecting-jenkins-to-jira-software-cloud/ 6/6