Can I create a confluence page (template) from a JIRA post function?

Evan Golden October 23, 2015

Can I create a confluence page (template) from a JIRA post function?

 

I want to approve an issue type and then have it auto create a wiki page from a template.  While populating some JIRA information (Custom fields) into the wiki page.  Is that doable?

2 answers

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2015

Bob's option is by far the easiest and most simple. Many people use this solution and I know we recommend it ourselves. I know it's also possible through using the Script Runner add-on, if you're comfortable with Groovy scripting. However, custom scripts are more difficult to maintain than a 'Command-line' style add-on.

If you're comfortable creating your own solution (proficient with a different scripting language perhaps) you should investigate the following topics. You should be able to 'man-in-the-middle' this, an entity can receive the data from JIRA and push your own data to Confluence.

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2015

Yes. Run CLI Actions in JIRA has the CLI Post Function that can run the addPage action in Confluence. Use Substitution variables go get issue information into the page.

artafon November 28, 2016

Hi, tell me please:

  1. Can I add link page to issue after created it from post function? 
  2. And can I add page from template?

thx very much smile

 

 

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2016
  1. Yes. Use addRemoteLink to the current issue to the Confluence page
  2. No, not a Confluence template. You can copy from another regular Confluence page

 

artafon November 30, 2016

thx Bob!

 

Suggest an answer

Log in or Sign up to answer