I’m looking for a way to add a custom button within a Jira issue view that, when clicked, would send data (such as the current issue ID or key) to an external API endpoint.
The use case is to allow users to manually trigger an action related to the issue without leaving the Jira interface.
I’m open to possible approaches suggestions and some key requirements:
The button must be visible within the issue view.
It should automatically send the issue key or ID to a REST endpoint when clicked.
Has anyone done something similar? What’s the best approach depending on whether we’re on Jira Cloud or Server?
Thanks in advance for your help!
Yes, it’s definitely possible to add a custom button in the Jira issue view that sends data (like the issue key/ID) to an external API, but the implementation depends heavily on whether you're using Jira Cloud or Jira Server/Data Center, as the customization methods differ significantly.
Hi @Adi S
The simplest way to implement this logic is by using Jira automation rules.
In your case, I recommend using a "manual trigger" to initiate the rule. You can read more about it here: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/.
For the action, configure a “Send web request” step to perform the necessary API call.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Adi S
On JIRA DC you can use https://docs.adaptavist.com/sr4js/8.2.1/features/fragments
On JIRA Cloud you could create a transition that trigger a webhook or create an automation (manual trigger) and use Send Web request as action. You could also create a custom app.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.