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
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...

292 views 2 12
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