Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Include a specific label in release notes

Scott Ocamb
Contributor
April 18, 2013

I would lile to create custom release notes that only render issues with a lable = ReleaseNotes. I have been able to filter out sub tasks and other things but can't seem to figure out the syntax to only include issues with a specific label. Any help would be appreciated.

2 answers

0 votes
dleng
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.
April 18, 2013
#set ($labels = $issue.getLabels())
You will then obtain an array of all labels, for this issue, in which case you could do a velocity loop to loop through them and get the labels you want. http://stackoverflow.com/questions/6328868/java-velocity-foreach-loop
Unfortunately I have not tested this yet though, perhaps you could try this and share your findings here.
0 votes
dleng
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.
April 18, 2013

deleted

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events