Need to get the content of a Confluence Page and add that as JIRA comment upon ticket creation

Manish V September 19, 2019

Hi,

We have a table in a Confluence page.
Our client has the following requirement-

"When a JIRA issue is created, the table present in the confluence page should be added as a comment in the ticket."

We can use the functionality of the Script Runner plugin to add a comment when the ticket is created, but we have two challenges-

1) Getting the Content from the Confluence Page.
2) Add that content in the script in the post-function to be posted as comment when the ticket is created.
3) Keeping the format of the table in the comment. (As groovy doesn't convert the HTML format to text format.

We have been using REST API to get the content in JSON format and now are proceeding to the next steps that we have planned, however that's a complex solution,
Hence wanted to ask the question here that does anyone know a shorter solution or another way to implement that.

Please let me know if you need more information.

Thank You!

Best Regards!

 

0 answers

Suggest an answer

Log in or Sign up to answer