Skip to content

Instantly share code, notes, and snippets.

@dvdsmpsn
Created April 9, 2013 10:58
Show Gist options
  • Save dvdsmpsn/5344822 to your computer and use it in GitHub Desktop.
Save dvdsmpsn/5344822 to your computer and use it in GitHub Desktop.
JIRA "release" user macro for Confluence
## Macro title: Release
## Macro has a body: N
##
## Developed by: David Simpson
## Date created: 2013-04
## Installed by: David Simpson
## Show the issues for a release
## @param ProjectKey:title=Project Key|type=string|required=true|desc=e.g. AF010
## @param Version:title=Version|type=string|required=true|desc=e.g. 1.1.1
#set($projectKey = $paramProjectKey)
#set($version = $paramVersion)
#set($jiraBaseUrl = "https://jira.appfusions.com") ## Update this to use your own JIRA server
<ac:macro ac:name="jiraissues">
<ac:parameter ac:name="title">$!{projectKey}: Release $!{version}</ac:parameter>
<ac:parameter ac:name="url">$!{jiraBaseUrl}/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+$!{projectKey}+AND+fixVersion+%3D+%22$!{version}%22&amp;tempMax=1000</ac:parameter>
</ac:macro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment