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

This widget could not be displayed.

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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

564 views 7 6
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