awx
awx copied to clipboard
JobTemplateDetail screen displays incorrect Webhook Service name if Bitbucket Data Center is chosen
Please confirm the following
- [X] I agree to follow this project's code of conduct.
- [X] I have checked the current issues for duplicates.
- [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
- [X] I am NOT reporting a (potential) security vulnerability. (These should be emailed to
[email protected]instead.)
Bug Summary
JobTemplateDetail screen displays incorrect Webhook Service name if Bitbucket Data Center is chosen.
<Detail
label={t`Webhook Service`}
value={webhook_service === 'github' ? t`GitHub` : t`GitLab`} # Bug is here
dataCy="jt-detail-webhook-service"
helpText={helpText.webhookService}
/>
AWX version
24.6.1
Select the relevant components
- [X] UI
- [ ] UI (tech preview)
- [ ] API
- [ ] Docs
- [ ] Collection
- [ ] CLI
- [ ] Other
Installation method
docker development environment
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
- Open any Job Template, click Edit.
- In "Options" check "Enable Webhook".
- Choose "Bitbucket Data Center".
- Click Save.
- Open "Details" screen of the same Job Template.
- Look at "Webhook Service" field. It's "GitLab".
Expected results
Webhooks service is "Bitbucket Data Center"
Actual results
Webhooks service is "GitLab"
Additional information
No response