publishing JIRA attachment into confluence

Hello,

Has anyone tried publishing a JIRA attachment into confluence as a web page?

We have JIRA 6.0.8 and Confluence 4.3.1 on our own instance. Both apps are trusted links. We would like to publish attachments from a JIRA entry as a confluence web page. This should happen when the JIRA entry is in Resolved status.

Thanks,

Manju

1 answer

CLI Plugin for JIRA has a post function for doing operations on other servers like Confluence. Add the post function to the resolved transition. In particular, you can could addAttachment to a conflence page. However, to make this work, JCLI-460 will need to be provided so it is easy to get the issue attachments that need to be processed.

Hi Bob,

Thanks for your suggestion.

However, I am looking to convert the JIRA attachment into Confluence web page itself, not add the JIRA attachments as an attachment into a confluence page. I see that this plugin is able to create a confluence page (https://bobswift.atlassian.net/wiki/display/JCLIP/How+to+create+Confluence+pages). Please suggest if there is way to add content from the JIRA attachment into the new page.

Basically, the requirement is to read the JIRA attachment content, apply a confluence page template and publish the content as a new confluence page.

You would need to use storePage instead. The data in the attachment needs to be text or something that is meaningful to put on a page. Perhaps you would need to surround with a {noformat} macro.

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
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

112 views 0 5
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