Working with Confluence and Jira
Asked by Dilan Kaplan:

Hi all,

I've been toying with the possibilities of some interesting ways to use confluence and Jira together however I am running into a couple of problems and was hoping somebody could either help explain a bit better, or possibly point me to a page that has already answered my questions. Thanks in advance for all help.

I have created a status register on Jira for important documents to track its progress through the various approval stages before becoming active.

I have created a register to have this data input from Jira however, I am unable to select specific Jira fields for certain columns in Confluence.

i.e. Jira field = Department (picklist)

Confluence column = Department

Jira field = Summary

Confluence column = Title

So far I have only been able to insert Macro containing the Status and the summary or I can hide the summary.

Is there a way to do this? Id like to do this on the table I have created rather than import a Jira automated table.


Answers:
author: Shannon S
body: Dilan,

Thank you for contacting us! Happy to help you with this.

Can you let me know what you are using to create the table? I assumed that you are using the [Jira issues macro](https://confluence.atlassian.com/doc/jira-issues-macro-139380.html), but your last sentence says you'd rather use a table than import a Jira automated table. I'm not sure what either of those refer to, so can you please clarify?

Please feel free to send us screenshots of what you have done so far.

Thank you!

Regards,

Shannon

comments: author: Dilan Kaplan
body: Hi Shannon, thanks for your reply

The first is an example of the table heading I would like, and essentially I would like to filter information from Jira for different cells, but the information imported on the Jira macro is restrictive to only the status and summary:

![Table1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/56851iA74C658CEC8D4791/image-size/large?v=v2&px=999 "Table1.PNG")

The second is the Jira issues table import macro, which provides a lot of irrelevant information for the purposes of confluence use.

![table2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/56852i9E4B54C04454CEC6/image-size/large?v=v2&px=999 "table2.PNG")

In addition, is it possible to filter which issues are available on the second table based on the status of the ticket?

For example, only those tickets that are not in Archive state, and in an archive register, only those tickets that are in the archive state?

Thanks in advance, i hope this is enough information


author: Shannon S
body: Hello Dilan,

Thank you for the example.

With the Jira Issues Macro, you can choose which columns display, so if there are any columns that are not relevant to Confluence, then you can choose not to display them. Also, it will take any JQL you provide it, so feel free to build the filter as you require it.

As for Archived Versions, there is a feature request to be able to query this using JQL:

* [JRASERVER-66325](https://jira.atlassian.com/browse/JRASERVER-66325) *JQL to search the ArchivedVersions*

For your other requirements, it is not possible out-of-the-box, but you can use some different customizations, such as with Javascript, if you are familiar, or various 3rd party add-ons, for example:

* [JQL Booster Pack](https://marketplace.atlassian.com/apps/1218367/jql-booster-pack?hosting=server&tab=overview)

I've also noticed that you might be able to modify your column titles like you were asking with an add-on such as [Advanced Tables for Confluence](https://marketplace.atlassian.com/apps/197/advanced-tables-for-confluence?hosting=cloud&tab=overview). I am referring to this particular set of instructions:

* [Improving Jira Issues macro with Table Plus macro](https://bobswift.atlassian.net/wiki/spaces/TBL/pages/49020944/Improving+the+JIRA+issues+macro+with+the+Table+Plus+macro)

I'll also tag your question in the Marketplace Collection, in the event that other users have another idea for you using other Marketplace add-ons.

Regards,

Shannon


author: Dilan Kaplan
body: Hi [@Shan](/t5/user/viewprofilepage/user-id/1670580)

Thank-you for your reply, it is most insightful. I was hoping that there may be a way to do without using any add-ons?

The problem I've had with add-ons in the past is that when feature updates are installed on some occasions functionalities have been lost and so I want to try and avoid this as much as possible for simpler tasks.

If you have any recommendations on this front, I would be most grateful.

Best,

Dilan


author: Shannon S
body: Hello Dilan,

The functionality does not exist in Jira by itself. If you don't want to use an add-on, and are comfortable with coding, you can [Write a User Macro](https://confluence.atlassian.com/doc/writing-user-macros-4485.html), or use [Javascript](https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html) to reach your goal. You could also [develop an add-on in-house](https://developer.atlassian.com/server/confluence/writing-confluence-plugins/) for your purposes.

As for functionality loss when installing an add-on, as long as the add-on was installed from Marketplace and is rated to work with your version of Confluence, then you shouldn't run into any functionality loss. If you do, then you would want to contact the add-on vendor to let them know that their add-on is causing conflicts.

I hope that clarifies things, but do let me know if you have any questions.

Regards,

Shannon


author: Dilan Kaplan
body: Thank-you for your help Shannon.

Much appreciated

Best regards,

Dilan


author: Shannon S
body: You're welcome, Dilan. Happy to help you.

Regards,

Shannon


Tags: atlassian-marketplace

confluence-server

jira

server