Read only JIRA Macro in Confluence

We have a use-case in which we want to provide users with a list of issues from JIRA, but not allow them access to JIRA. For example, in Confluence they would visit a page with a JIRA macro that is pulling in issues from our JIRA instance. Instead of seeing the "Authenticate" banner, they would instead see a read-only JIRA list with the Issue Number and the Headline. We don't want to give access to JIRA to everyone (and we can't, for security reasons) make use of anonymous users. We just want to display the very basic of data within our Confluence instance from JIRA using the macro without having to give each user read only access. Essentially, we want to output a table of issues based on JQL query.

Is this possible?

2 answers

If you are using server version you have a couple of choices:

  1. Use the SQL-query Macro against the JIRA database
  2. Use the CLI Macro and the getIssueList action against your JIRA instance. CLI macro is part of Run CLI Actions in Confluence

If you are using cloud, then you get something like this example to publish the list: getIssueList

We have Confluence locally and JIRA in the cloud (for now). I've used CLI locally on my machine before, but I wasn't aware there was a macro for it. I tried searching the marketplace and only found the CLI that I download and use locally and not one that is embedded in Confluence for pulling content. Did I miss it?

I updated the answer with the pointer. So, you can use #1 since you don't have access to the database. But #2 should work the easiest.

I meant CAN'T use #1. Still can't edit comments - yuk!

Unfortunately, I need to perform this soon, and I have no budget money for anything. Guess we'll have to look at exporting to Excel and uploading.

Use an evaluation license until you can justify it.

Another option is to use our plugin, ConfiREST for Confluence

You can connect to any REST/XML service (including JIRA, of course) and show the data in many ways (table, card, wysiwyg).

The plugin also acts as a proxy, you can set it up to do the authenticated connection in the background, so your users don't have to.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

258 views 1 4
Join discussion

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