Coder Social home page Coder Social logo

xebialabs-community / xlr-confluence-plugin Goto Github PK

View Code? Open in Web Editor NEW
3.0 31.0 3.0 1.21 MB

Interfaces to a Confluence Wiki to add/delete/update pages and add comments to pages.

License: MIT License

Python 100.00%
xl-release xlr confluence wiki-page

xlr-confluence-plugin's Introduction

XL Release Confluence plugin

Build Status License: MIT Github All Releases

Preface

This document describes the functionality provided by the XL Release Confluence plugin.

See the XL Release reference manual for background information on XL Release and release automation concepts.

Overview

This plugin updates a Confluence wiki by adding pages, deleting pages, or adding comments to pages.

Requirements

  • XL Releas 6.0+

Installation

  • Copy the latest JAR file from the releases page into the XL_RELEASE_SERVER/plugins directory.
  • Restart the XL Release server.

Usage

Task: Add new wiki page under one or more existing parent wiki pages

A page with the given page title and page text will be added as a child page under all parent pages matching the parent page titles and parent page numbers within the space key.

The page text should be formatted with HTML tags.

screenshot of add-page

Task: Add a comment to one or more existing wiki pages

A comment will be added to all pages matching the page titles and page numbers within the space key.

screenshot of add-comment

Task: Delete one or more wiki pages

The specified pages will be deleted.

screenshot of add-page

Task: Update one or more wiki pages

The specified pages will be updated with the new page title and new body text. The prior contents of the page will be replaced.

The page text should be formatted with HTML tags.

screenshot of add-page

Task: Get HTML content

Get the HTML code of a confluence page.

screenshot of get-html

Server configuration

screenshot of configuration

Referneces

https://confluence.atlassian.com/confcloud/confluence-cloud-documentation-724764511.html

xlr-confluence-plugin's People

Contributors

droberts2013 avatar ftravaglia avatar jpflug avatar ndebuhr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xlr-confluence-plugin's Issues

Add Wiki pages doesn't work on Confluence 7.9.3 Cloud version

Hi Guys,

we've been trying to create new pages via the plugin without any success, the plugin task altough was completed, no page has been created on Confluence side.

We managed to add some new lines to the plugins code that made page creation successful.

Below you can see the code (HttpRequestPlus.py), the new lines are in bold:

def buildRequest(self, method, context, body, contentType, headers, quotePlus):
url = self.quote(self.createPath(self.params.getUrl(), context), quotePlus)

method = method.upper()

if method == 'GET':
request = HttpGet(url)
elif method == 'HEAD':
request = HttpHead(url)
elif method == 'POST':
request = HttpPost(url)
OUrl=self.params.getUrl()
request.addHeader('Origin', OUrl)

request.setEntity(StringEntity(body))
elif method == 'PUT':
request = HttpPut(url)
request.setEntity(StringEntity(body))
elif method == 'DELETE':
request = HttpDelete(url)
elif method == 'PATCH':

Thanks,

BR

Tibor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.