The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is there any documentation on how to use the code examples?

Daniel Luevano
Contributor
August 24, 2016

This question is in reference to Atlassian Documentation: JIRA Issues Macro

On the Documentation there are a code example, how they are used? any examples?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Jonas Andersson
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 Champions.
August 24, 2016

One-line question so open you could fly an airplane through it, but ill give it a try.

There are no code with the JIRA issues plugin in Confluence, only parameters that you can pass to the plugin.

Create a new page, insert the JIRA issues plugin by typing

{jira

and select the JIRA macro. In the first screen you set a filter like:

PROJECT="project name" AND assignee="username"

Once this inserted and the page saved you should see these issues in a list. In you extensive problem description you also mentioned code. If you have the wiki markup plugin you have an icon that looks like:

<>

This icon allows you to see the code this produced:

<p>
  <span>
    <ac:structured-macro ac:macro-id="REDACTED SERVER ID" ac:name="jira" ac:schema-version="1">
      <ac:parameter ac:name="server">JIRA</ac:parameter>
      <ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter>
      <ac:parameter ac:name="maximumIssues">20</ac:parameter>
      <ac:parameter ac:name="jqlQuery">project=project name and assignee=username</ac:parameter>
      <ac:parameter ac:name="serverId">REDACTED SERVER ID</ac:parameter>
    </ac:structured-macro>
    <br/> </span>
</p>

Have no real clue if this is what you are talking about, so next time spend a bit more than a minute to give us a better idea of how we can help, and we will nail it in the first try.

TAGS
AUG Leaders

Atlassian Community Events