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

Deployments with GitHub for Jira Cloud

This a step-by-step guide to display the deployments from GitHub on your Jira Cloud.

 

Instructions

Please, follow the steps below:

Installing the app from the marketplace

1. Access your Jira Cloud site, go to the Apps > Explore more apps and install the app GitHub for Jira

2. Configure the app and connect to your GitHub Cloud.

 

Connecting to your Jira Software project

1. Access your Jira Software project, go to Project settings > Features.

2. Toggle on the Code and Deployments features.

3. At the Project settings menu, select Toolchain. Click on Add > Add tool

image-20230918-164343.png

 

4. From the Installed on your site, select Add to project beside the GitHub for Jira app.

image-20230918-164547.png

 

Configuring the Deployments section of the project

1. Now you can go back to the board and on the left-side menu, please, select Deployments:

image-20230918-164734.png

2. It will load three steps that you must follow the display the deployments on your Jira Software project.

 

Creating the data on GitHub

1. First, you need to have a repository on GitHub. If you don't have one, create a new repository by clicking on the '+' icon on the top right corner of your GitHub account and select 'New repository'.

2. Once you have your repository, you need to create a new file named '.github/workflows/main.yml'. This file will contain the configuration for your deployment. You can create this file by clicking on Add file -> Create new file in your repository.

3. In the main.yml file, you need to define your workflow. Here is a basic example of a workflow:

name: CI

on:
push:
branches: [ <branch_name> ]
pull_request:
branches: [ <branch_name> ]

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: production

steps:
- uses: actions/checkout@v2
- name: Run a one-line script
run: echo Hello, world!
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.

 

* Just update the branches accordingly. In case you’re under the main, please, use just main.

 

Sending the information to Jira Cloud

Now we're almost done. You just need to do a smart commit to send the information to Jira. Smart commits are a feature of Jira that allows you to perform actions on Jira issues from your commit messages. Here's how you can do a smart commit:

 ISSUE_KEY #command [optional command parameters]

Remember, your commit messages need to be written in English for the commands to be recognized. Also, you need to have the necessary permissions in Jira to perform the actions specified in your commit messages.

After that, you should complete all the three steps required to display the deployments feature and it will start showing it.

 

 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events