Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,619
Community Members
 
Community Events
168
Community Groups

How can I transfer a Confluence page content to Jira issue description?

Edited

Hello there,

What I have:

  • A story description in a Cloud Confluence page
  • A Cloud JIRA story issue

What I am trying to do:

  • insert the Confluence page content into the Jira issue description.

To perform this, I use:

  • The confluence API to retrieve the page content
  • JIRA automation to schedule the JIRA issue description update based on the Confluence page ID.
  • (I also could use Confluence events to publish the update in a webhook listened by JIRA automation, instead of using the scheduler trigger).

Well, this is not rocket science and works fine. But... all the body formats of the Confluence page content include html tags. And html does not render in JIRA text fields for security purpose. Since the Confluence and JIRA editors are the same, is there a way to push the content into the JIRA issue description in a way that it will render correctly for most of the Confluence tags (headings, colors, etc...) ? 

The only solution I currently see is to use a converter between html and JIRA wiki markups, but this is quite tricky and cannot be performed in the cloud environnement. 

Any guess?

Note: I could also use JIRA Cloud scriptrunner to any means.

1 answer

Hello Vero,

Thank you for the tip. However, this allows me to do the oposite of what I am trying to perform. Our single source of truth is Confluence, as indicated in the video. Despite the fact that the jira filter macro is very usefull to link the two products, it does not help me to fill the issue description with the confluence page content, as all I get is a link to confluence.

The idea is to avoid dev to go to confluence to get the information, and stay in JIRA to do their job.

Like James Mack likes this

I am looking to do the same thing.  Is there a solution to this problem?

Suggest an answer

Log in or Sign up to answer