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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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