Auto create a confluence page based on jira custom field selection and linked to the current issue

Murugan Mittapalli
Contributor
June 7, 2020

Hi guys,

I have one requirement that I need to auto-create a confluence page based on custom field selection in Jira and it should show up on the current ticket, I have script runner add-on, please let me know if it is possible or not.

Thank you

2 answers

0 votes
Najjar _Innovura_
Atlassian Partner
June 14, 2020

Hi Murugan

We launched a new app that allows you to create pages from templates and store the page under a location based on project or customfield value through Jira Workflow post-function and store the Confluence page in a Jira customfield to apply more actions like:

Workflow postfuntions

  • Update page permissions
  • Update page content
  • Update page title

Workflow conditions

  • Check if page was modified after a certain status transition
  • Check if page still has a placeholder

And so much more.

Please give it a try, I believe it would streamline alot of repeated effort on your team

Jira Confluence Workflow Extensions (JCWE) 

Give it a try I am confident you'll love it.

If you have any inquires or requests please drop me an email at admin@innovura.io

0 votes
Ivan Tovbin
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.
June 13, 2020

Hi,

It definately is possible. Here's the general idea for how this can be done:

1) When a field is set, call Confluence REST API to create a page. 

2) Create a link in your issue leading to the page that's just been created.

I guess a scripted post function could do the trick. You'll need to write the code for it to perform the steps above.

Murugan Mittapalli
Contributor
June 15, 2020

Thanks for your response Ivan,

I am not good at the scripts, do you have some example scripts or documentation.

Thank you.

Suggest an answer

Log in or Sign up to answer