Skip to content

bitbucket_dc Webhook can't be used with Workflow Job Template #16349

@burhanuguz

Description

@burhanuguz

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

webhook_service=dict(choices=['github', 'gitlab']),

webhook_service=dict(choices=['github', 'gitlab', '']),

AWX allows users to define Webhook as Bitbucket Data Center for Job and Workflow Job templates, but it can't be applied with this module/collection since the option is not there.

Should be like

webhook_service=dict(choices=['github', 'gitlab', 'bitbucket_dc'])

AWX version

24.6.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

Use awx.collection and try to add Job or Worfklow Job Templates with trying to enable bitbucket_dc webhook service.

Expected results

The creation does not fail

Actual results

It fails and raises exception as only github or gitlab options can be used, but not bitbucket_dc

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions