I have created a feature that creates a linked issue to the current issue.
This works well when my issue is fully displayed.
But when my issue is partially displayed (list view for example) the getBehaviourContextId() function returns null and this leads to an error that blocks the page (need to refresh).
How can I get the behaviourContextId in this case?
or
How can I block the feature in this case?
Regards,
Franck
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.