Pull fields from JIRA using Macro in Confluence

Is there a way to accomplish the following:

  1. Create a JIRA issue and populate a custom field called Requestor.
  2. Create a user macro in Confluence that does the following:
    • Specify a JIRA issue number
    • Locate and read the Requestor field
    • Print the value of the Requestor field onto a Confluence page
  3. Put the macro onto a Confluence page and set it for the issue and pull the specific field.

I'm trying to find ways to increase the integration for certain individual fields so that content is updated in one location and automatically updated in another. The JIRA Issues macro is not what I need/want to create. I want to pull specific fields from JIRA into Confluence.

We already have Confluence and JIRA linked together to pull in issues.

1 answer

Can't think of any add-on which can do this directly. You may need to write a macro that calls the JIRA REST interface for the JIRA issue and can display the value of that custom field within JIRA


Or a user macro might be sufficient for this code - https://confluence.atlassian.com/display/DOC/Writing+User+Macros

You wouldn't happen to have an example...?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

899 views 23 12
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