Post function to display a pop up by calling internal rest endpoint

Pratyusha Kar December 18, 2024

Hello. I have a post function in create issue transition which calls an internal Jira Rest endpoint which should in turn display a pop up panel(code for pop up included in the rest endpoint script)

The same functionality is achieved when I am using a fragment button to call the rest endpoint and display pop up. But it is not happening in case of post function during issue creation which is the requirement.

Is there a work around for this?

I need to display a pop up when create button is clicked in create issue screen, through the rest endpoint call

 

1 answer

0 votes
Humashankar VJ
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.
January 1, 2025

Hi @Pratyusha Kar 

You can implement a custom solution using webhooks.

  • The process begins by configuring a post function to send a webhook or signal to an external service or a custom script on the server.
  • This trigger sets off a chain of events that ultimately notifies the user's browser. To achieve this, you can leverage browser-based notification tools such as WebSockets or server-sent events, which enable real-time communication between the server and the user's browser.

When the browser receives the signal, it triggers a JavaScript function that displays the popup notification to the user, providing a seamless and instantaneous notification experience.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Suggest an answer

Log in or Sign up to answer