Forums

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

How to build a standard workflow scheme that would allow webhook integration at a project level

Bhabu NSMR December 1, 2017

I am trying to build a workflow scheme that would allow webhook integration  and still not impact any other projects sharing the same scheme 

Could some help me with this 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
December 1, 2017

You can't do this.  A webhook happens in a workflow if you tell the workflow to do it.

If you then use the workflow in a project, the webhook will (try to) do what you told it to.

There's no way to arbitrarily not do it on the basis of something unknown.

You'll need to use Jira as it was designed - have two workflows.

Bhabu NSMR December 4, 2017

Thank you @Nic Brough -Adaptavist- 

Are you aware if there is any way to trigger a Jenkins Job by passing commands as JIRA comments. 

Nic Brough -Adaptavist-
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.
December 4, 2017

You would need to write a listener to catch the "issue commented" event, and scan the incoming comment for data to send to Jenkins.

Feels clumsy to me - why aren't you using workflow for this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events