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.
#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.
Also, here is a useful link for some syntax information: https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Release+Notes+Template+Containing+Release+Comments#CreatingaCustomReleaseNotesTemplateContainingReleaseComments-Step4:FilteringReleaseNotes
|
deleted
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.