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

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

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.

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

 

 

  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

 

0 votes
Steven Behnke Community Champion Oct 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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

199 views 4 1
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