Hello,
I wanted to know if it's possible to copy an attachment from an issue to a confluence page. Somebody got an idea for that?
Thanks in advance.
Hello,
It is possible. You could write a post function or service in Jira which would take an attachement from Jira and uploaded it to confluence using REST API.
Hello,
Ok thank you.
Would you be so kind to tell me how?
Do I only need to define the right params, or is it more complicated?
def params = [
type: "page",
title: pageTitle,
space: [
key: "TEST" // set the space key - or calculate it from the project or something
],
// if you want to specify create the page under another, do it like this:
// ancestors: [
// [
// type: "page",
// id: "14123220",
// ]
// ],
body: [
storage: [
value: pageBody,
representation: "storage"
]
]
]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have any code snippet I can use? to copy attachments from JIRA to Confluence?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.