Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira and Confluence ScriptRunner - Set up Webhook in Confluence catch it in Jira

Roberto L
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.
August 28, 2017

Hello Community,

I am wanted to know if anyone knew anything regarding using the Confluence ScriptRunner to create a webhook which could be processed in a Jira Rest EndPoint.

I appreciate any help with this,

-Roberto

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Rafael Franco
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.
September 1, 2017

Hi Roberto,

Can you please clarify a bit better what exactly you are trying to achieve? 

I would assume that you could just listen to a specific event in Confluence and then call a REST api in JIRA to do what is needed.

Let me know,

Rafael

Roberto L
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.
September 1, 2017

Hi @Rafael Franco,

In Confluence there are pages that need approval.

I would like it such that when a Page is approved then a task in Jira is transitioned to Complete.

I am unsure how to do so. Would this be possible in any way?

Can you call a POST REST api in Confluence ScriptRunner?

-Roberto

Rafael Franco
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.
September 1, 2017

Well, it depends when the page is approved if a regular confluence even it fired or not. What add-on are you using for page approvals?

Roberto L
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.
September 29, 2017

Hi Rafael Franco

I am hoping you are still able to help me with this inquiry.

The add-on we are using for page approvals in Confluence is called "Comola".

Regarding the Confluence events being fired or not, could you explain how I can check in Confluence whether an event has been fired or not and how to handle them?

I am new to Confluence :/.

Thank you!

-Roberto

TAGS
AUG Leaders

Atlassian Community Events