Hello,
I create a user macro that display information about a single jira issue with two sections :
The first with Key, Status, Summary and a second one with the description.
I don't find how I can create a link type "Mentionned in" between my confluence page and the jira issue.
I want the same link we have when we use the native "Jira issue/filter" Macro used for a single issue.
Here my code :
## @param IssueKey:title=Issue Key|type=string|required=true|desc=DAD-1150
#set($IssueKey = $paramTicketKey)
<p>
<ac:structured-macro ac:name="jira">
<ac:parameter ac:name="columns">key,summary,type,updated,assignee,status</ac:parameter>
<ac:parameter ac:name="serverId">my id</ac:parameter>
<ac:parameter ac:name="jqlQuery">key = POL-5</ac:parameter>
<ac:parameter ac:name="maximumIssues">1</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:name="jira">
<ac:parameter ac:name="columns">description</ac:parameter>
<ac:parameter ac:name="serverId">my id</ac:parameter>
<ac:parameter ac:name="jqlQuery">key = POL-5</ac:parameter>
<ac:parameter ac:name="maximumIssues">1</ac:parameter>
</ac:structured-macro>
</p>
Someone can help me ?
Thanks in advance !
I get the storage format code of the native Macro and I used it on my "user macro"
The issue is well displayed but I still don't have the link.
<p>
<ac:structured-macro ac:name="jira" ac:schema-version="1" ac:macro-id="7f6343a3-e485-4e8c-9634-7d6856ac3ae9">
<ac:parameter ac:name="server">My Server Name</ac:parameter>
<ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter>
<ac:parameter ac:name="serverId">My Server ID</ac:parameter>
<ac:parameter ac:name="key">POL-5</ac:parameter></ac:structured-macro>
</p>
I didn't find any documentation on that...
Should I do it by API ? Should I include javascript ?
can you share us what do you trying to do with a printscreen?
I don't understand what you mean by "the link".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
When you mention a single jira issue (with the native macro) you got this button in the top of your page :
I try to have a the same behaviour whith my own user macro...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh okay, I see.
I'm not aware of anything to achieve this. Sorry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.