Include a specific label in release notes

Scott Ocamb 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