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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

139 views 1 17
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