Import data from Jira to fill out fields in Confluence
Asked by Rob DeVries:

Hello,

I would like to know how to auto fill fields (not just issues) in a Confluence space from a Jira project. My goal is to create custom templates in Confluence which will update my documents automatically.

For example the project name, description, status, etc. or any data. It would also be nice to copy the Avatar.

![Jira Project settings details.JPG](/t5/image/serverpage/image-id/66532iA40A73F11DF958A5/image-dimensions/342x250?v=v2 "Jira Project settings details.JPG")

This common template would will be used in every project which would made me documents will have the same output format (PDF, Word).

I have looked at the Insert Jira Issue/Filter but it just seems to be for issues.

I am not sure what this would be called so I haven't been able to find anything which could help me.

Thank you,


Answers:
author: Dario B
body: Hi [@Rob DeVries](/t5/user/viewprofilepage/user-id/2383496) ,

If I have a correct understanding of what you are trying to achieve, you are trying to populate/update a Confluence page with data from a Jira issue.

If this is the case, you may want to search the marketplace for an add-on that can help you achieve this like, for example, the following ones (you can find more in the marketplace):

* [Teamworkx issue publisher for Jira](https://marketplace.atlassian.com/apps/1216007/teamworkx-issue-publisher-for-jira?hosting=server&tab=overview) (Server)
* [Issue forms for Confluence](https://marketplace.atlassian.com/apps/1215818/issue-forms-for-confluence?hosting=server&tab=overview) (Server and Data Center)
* [Issue manager for Confluence](https://marketplace.atlassian.com/apps/1216691/issue-manager-for-confluence?hosting=server&tab=overview) (Server)
* [Raley Intake Forms for Jira](https://marketplace.atlassian.com/apps/1217327/raley-intake-forms-for-jira?hosting=cloud&tab=overview) (Cloud)

Being on Confluence Server, another option would be to write a [User Macro](https://confluence.atlassian.com/doc/writing-user-macros-4485.html). For details and instructions see:

* [Writing User Macros](https://confluence.atlassian.com/doc/writing-user-macros-4485.html)
* [User Macro Template Syntax](https://confluence.atlassian.com/doc/user-macro-template-syntax-223906130.html)

Finally, similar topics have been discussed in the below threads. You may want to review them to see if any other solution is available:

* [Populating values from specific Jira fields into a knowledge base page in Confluence](https://community.atlassian.com/t5/Confluence-questions/Populating-values-from-specific-Jira-fields-into-a-knowledge/qaq-p/763658)
* [Populate Confluence from Jira field by field](https://community.atlassian.com/t5/Jira-questions/Populate-Confluence-from-Jira-field-by-field/qaq-p/406823)
* [Pull fields from JIRA using Macro in Confluence](https://community.atlassian.com/t5/Confluence-questions/Pull-fields-from-JIRA-using-Macro-in-Confluence/qaq-p/316972)

I hope this helps.

Cheers,  
Dario


author: james.mckean
body: You can also accomplish this without plugins by using the Jira issue macro.

1. Create a named filter in Jira that extracts the information you want.

2. Use the named filter's URL in the Jira macro configuration instead of the issue key.

3. Use the "Display options" (at the bottom of the Jira macro UI) and the "Columns to display" to add the field(s) you want and delete those you don't. Note that you can add all the fields that could appear in your filter. I use the table view because I am just extracting 1 field.

I am not sure if repeating this for many fields on one confluence page would have a performance impact, but for my use case it works very well.


author: szn
body: Hi [@Rob DeVries](/t5/user/viewprofilepage/user-id/2383496)

\[ad alert\]

I believe this can be helpful:

[Smart issue view for Confluence](https://marketplace.atlassian.com/apps/1224608/smart-issue-view-for-confluence?hosting=cloud&tab=overview&from=community "Confluence Cloud Marketplace plugin")

This plugin allows you to freely define Jira issue fields to be presented on a Confluence page. You can even present a single field (such as the numer of votes). Or display a small box with all the data you need:

![Screenshot 2021-03-20 at 17.46.49.png](https://community.atlassian.com/t5/image/serverpage/image-id/135254iCF7F2E749D39E1D7/image-dimensions/454x220?v=v2 "Screenshot 2021-03-20 at 17.46.49.png")

On top of that it is possible to edit the issue right on a Confluence page (embed issues are automatically refreshed).

Please note, that this is a cloud only plugin.


Tags: atl-adm

atlassian-marketplace

confluence-server

jira

server