How to use the JIRA cli to automate release?

Connor Conway
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 5, 2021

Hello there,

Is it possible to use the JIRA CLI to automate a release? I couldn't find any documentation on the release part but hopefully I'm just looking in the wrong place.

I'm hoping for something like:

1. Get all tickets in the "Selected for development" column in a Kanban board with a specific component.
2, Release obtained tickets and tag a version
3. Create release notes from JIRA description content
3. Move all tickets to "Done"

We have a DevOps pipeline that this would be done as part of.

Here are the Docs I was currently using:
https://docs.jiracli.com/#config

Thank you,
Connor

2 answers

0 votes
Kinnera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2021

Hello @Connor Conway 

We have created a support ticket for this requirement in our portal and we would like you to sign up for our portal and let us know the username so that we can make you the reporter and you will be able to access the ticket https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-8437 for further progress. 

Please find the below link to signup to the portal: 

https://bobswift.atlassian.net/servicedesk/customer/portals/1

Thanks
Kinnera

sravya.chintalapudi {Appfire} November 8, 2021

Hi @Connor Conway ,

As said earlier, we have created a support request in our portal https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-8437 for further discussion.

The below Jira command will help you update the fixversions and transition the issue of a set of issues.


--action runFromIssueList --jql "project =TEST AND component = COMP1 AND status in (Open)" --common "--action transitionIssue --issue @issue@ --transition 11 --fixVersions "1.0""


Here the transition "11" is the ID of the status you would like to move the issue to.

Please try the above command and let us know if you have to face any issues.

Thanks,
Sravya
 

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2021

That doc is for Server. Some things you could consider/assess…

  • use Automation (manual trigger)
  • consider a devops automation addon from the Marketplace 

Suggest an answer

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

Atlassian Community Events