Wiki markup equivalent for JIRA macro

I want to create a Confluence page via a RESTful or command line interface and want the page to include the results of JQL.

1 answer

1 accepted

CLI Plugin for Confluence and then use the getIssueList action.

An example:

--action getIssueList --project ZJIRACLI --quiet --suppressId --columns "key,id,type,summary,description,fix Versions"

Only use suppressId if you are on version 3.9.0 or above.

Hmm. Typically I do something like this to create a page:

$ cat my_file
h1. Big heading
Hello World!

Then, I add it:

$ --server http://localhost:8090 --user admin --password PASSWORD addPage --replace --space MYSPACE --title 'MYTITLE' --file my_file

For a JIRA issue list on a wiki page I'm thinking something like this:

$ cat my_file
h1. Big Heading
{jira:jql="Project = 'MYPROJECT'"}

But, I don't know what that {jira} macro should like like.

Ah, I mis-understood your question. You are just asking about the wiki parameters for the jira macro? Just do a jira macro and look at the storage format to see what the parameters are and translate into wiki format.

Perfect, that storage format is useful, thank you Bob! Here's what I did:

{jira:columns=summary,updated|server=OURJIRA|serverId=5f2d82c5-db7e-be3a-3a91-ae5c81b5d4ae|jqlQuery=summary ~ "SOME TEXT"}

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,494 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you