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

Is there a way to use the JIRA API to retrieve Release Notes of a fixVersion?

It looks like the UI html syntax has changed.  Now I'm unable to use a workaround to retrieve release notes.  Is it possible use the JIRA API to get the release notes from fix version .

2 answers

Hi @Shawn Bates 

Do you know the version ID?  If so, you could just do a JQL search on fixVersion=myID with

https://docs.atlassian.com/software/jira/docs/api/REST/1000.824.0/#api/2/search

If you know more about the version, you could use the JQL functions in the query, such as

project = myProject AND fixVersion = latestReleasedVersion()

or

project = myProject AND fixVersion = earliestUnreleasedVersion()

 

Best regards,

Bill

Hi Bill, I'm trying to use the curl command. Would you have an example?

Hi Shawn,

Please look here for an example of calling the REST API with curl. This example is for JSM and the ideas work for Jira Cloud.

https://community.atlassian.com/t5/Jira-Service-Management/REST-API-curl-example/qaq-p/1486907

0 votes
Darryl Lee Community Leader Apr 28, 2021

Oooh, this feature request has been around for a long time:

https://jira.atlassian.com/browse/JRASERVER-3855
https://jira.atlassian.com/browse/JRACLOUD-3855

What was your workaround? 

So the page is easy(ish) to get to:

https://YOURSITE.atlassian.net/secure/ReleaseNote.jspa?projectId=11333&version=10333

You can certainly find the Project ID and Version via the API: https://nortekcontrol.atlassian.net/secure/ReleaseNote.jspa?projectId=11317&version=10529

But the really tricky part is getting that nicely formatted HTML out of Jira...

Back in 2014, Henri used sed to extract them:

http://blog.tremblay.pro/2014/10/extract-release-notes-from-jira.html

But man, in 2021, everything's Javascript. I don't see the rendered HTML anywhere when I did `acli --action renderrequest` (saves me having to do auth in curl).

I wonder if Selenium or the like could simulate loading that page and clicking on "Copy to clipboard":

Screen Shot 2021-04-28 at 8.27.05 PM.png

Or, building it all up by hand from REST queries, as suggested here:
https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-I-access-Release-Notes-HTML-data-VIA-JIRA-API/qaq-p/573074#M110730

Or maybe doing it with Confluence?
https://confluence.atlassian.com/doc/blog/2015/10/how-to-document-releases-and-share-release-notes

Sorry I couldn't find a better answer. If you can share your workaround, maybe we could build on that.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

248 views 2 1
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