Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Generating Release Notes with Bamboo?

I am using Bamboo to build a small product for release. It currently builds everything using ant, and packs it into a zip file, who's name has the major-minor versions (taken from build.properties variables) and the build number (from bamboo, passed into ant), so you get an artifact like this: FooProduct-v1.1b341.zip. Which is great.

However, I'm trying to figure out how I can create a RELEASE-NOTES.txt (or similar) file during the build process, that will be added into the zip file, that contains the same version and build numbers, and ideally also has a changelog based on the commits and Jira issues related to the bamboo build (and the history of the project's build).

I'm sure you've seen similar release notes or change log files with most of your favorite software. However, I can't seem to figure out any easy way, using Bamboo, Ant or both, to make this happen.

This seems like basic functionality for a build system, so hopefully I'm just missing something simple...

3 answers

As far as I know, JIRA's standard release notes are not exposed via the JIRA REST API, so you won't be able to get that in an Ant build script.

As an alternative solution, you may want to use the JIRA PDF View Plugin to generate your release notes documents. Besides having a document looking more professional than a plain text file, the nicety in this is that you can get the PDF by accessing the URL that generates it. So, in your Ant script, use the get task and voila!

jira-release-notes-pdf.png

Devon is asking to generate release notes through Bamboo, not Jira. Jira's release notes show tickets that were tagged for a release, regardless of their state (opened, implemented, closed, etc.).

In Bamboo's web interface, you can view Related JIRA Issues. This list is created by parsing commit messages for JIRA tickets such as MYPROJ-76 (assuming the JIRA plugin is enabled). Unlike JIRA, it would know nothing about a ticket that was closed with no changes unless their ticket number somehow got committed.

So it seems to get a complete picture of what has gone into a release – from things that were closed with no code change (only JIRA knows about these), to things that were committed noting a JIRA ticket that belongs in a different release (only Bamboo knows about these) – you need some combination of the two.

 

In any case, my team also needs to somehow obtain this "Related JIRA Issues" list from Bamboo (and JIRA's release notes) during a build to save in a release notes file.

i know its very late, but i am answering for others who might come here for solution.

you can you bamboo rest api to get jira issues related to build and generate release note file using markdown format.

{bamboohost}/rest/api/latest/result/{key}.json?expand=changes.change.file,jiraIssues

 

key is ${bamboo.planKey}-${bamboo.buildNumber}

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

250 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you