Forums

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

configuring workflow triggers to start REST API script

Samuel Donadelli July 6, 2018

In the context of configuring workflow triggers, is there a manner to trigger an event from JIRA, to start a REST API script to execute Bitbucket commands? 

Reference: https://confluence.atlassian.com/adminjiraserver071/configuring-workflow-triggers-802592811.html#Configuringworkflowtriggers-understandingtriggers

Cheers,

1 answer

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 6, 2018

Hi @Samuel Donadelli,

It looks like a webhook may help in this context. On the documentation, we state the following:

[Webhooks] provide a lightweight mechanism for letting remote applications receive push notifications from Jira, without requiring polling. For example, you may want any changes in Jira bugs to be pushed to a test management system, so that they can be retested.

Workflow triggers, instead, are a way for Jira to perform some operations based on events received from other applications (Bitbucket in this case).

 

If you could add some context to this request (including which operation should be trigger in Jira and what should be executed in Bitbucket as result), there may be another and potentially even better to achieve the same. For example, an add on could already be providing this functionality with an easy set of configuration options.

 

Cheers,

Caterina - Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events