Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create a Custom Button in Jira Issue View to Trigger External API Call?

Adi S
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2025

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!

3 answers

1 vote
fzmuhammad
Contributor
May 6, 2025

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.

1 vote
Lucas Knorr
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.
May 6, 2025

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.
SCR-20250506-rrzf.png

1 vote
Florian Bonniec
Community Champion
May 6, 2025

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

Suggest an answer

Log in or Sign up to answer