It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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


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
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

226 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you