Register a BotStar chat close callback from a Jira issue
Use a newly filed issue as the cue to register the BotStar widget's close behavior for the relevant setup.
Trigger
New Issue
Fires when a new issue is created in the Jira project you configure. Only issues created in that project produce an event.
Action
BotStar LiveChat onClose Callback
Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console."
Why this helps
Chat close behavior can be forgotten while teams are switching between issue intake and widget configuration.
- Tie callback registration to a real Jira issue event.
- Avoid manually remembering a setup task triggered by issue intake.
- Use a supported BotStar callback action.
Setup
Build it in a few focused steps.
- 1Connect Jira and BotStar once in the Notis portal.
- 2Create an automation and name it for the callback registration outcome.
- 3In one instruction, tell Notis to register the BotStar onClose callback and specify the desired behavior or handler details.
- 4Pick the Jira New Issue trigger and choose where run reports should go.
- 5Test with one real issue and confirm the callback registration behaves as intended.
Questions about this workflow
Does this action itself close the chat window?
No. It registers a callback for when the window is closed. Closing the widget is a separate BotStar action.
When should the callback be registered?
The BotStar action is intended for use after the widget is initialized. Ensure that condition is met in the context where the instruction runs.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Jira to Botstar. A trigger fires from one place; an action lands in another.
Jira triggers
Botstar actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
BotStar LiveChat onClose Callback
Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console."
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get BotStar Application IDs
Tool to retrieve the botstar application id (`appid`). use when initializing or reinitializing the live chat widget.
New Issue
Fires when a new issue is created in the Jira project you configure. Only issues created in that project produce an event.
Livechat boot
Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.
New Project
Triggered when a new project is added in Jira
Close BotStar Livechat Widget
Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.
Updated Issue
Fires when an existing issue is changed in the Jira project you configure — for example its status, assignee, or any other field on the issue is updated. Only issues in that project produce an event. It does not fire on comment activity: adding, editing, or deleting a comment on an issue will not produce an event from this trigger.
Livechat on open
Tool to register a callback when the chat window is opened. use after widget initialization.
Livechat open
Tool to show the live chat window. use after the widget has been bootstrapped with botstarapi('boot') to programmatically open the chat window (mode must be 'livechat' or 'popup').
Livechat update
Tool to update user details on the current live chat session. use when you need to modify user profile attributes during an active conversation.
Get BotStar Webview Parameter
Tool to retrieve a parameter value passed from the botstar chatbot to the webview. use inside onchatbotready after your page loads in modal mode with bs:input meta tags.
Connect any two apps with Notis in the middle.
Jira and Botstar, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Botstar.