Bug 2224160

Summary: Do not create SFDC jobs when sync disabled
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: ExtensionsAssignee: Bug Bot 🤖 <bugbot>
Extensions sub component: ExternalBugs QA Contact:
Status: NEW --- Docs Contact:
Severity: unspecified    
Priority: unspecified    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Fearn 🐞 2023-07-20 03:25:57 UTC
Description of problem:

If there is an SFDC ET on a bug then a job is created regardless of if there is a need to sync anything.

Version-Release number of selected component (if applicable):
5.0.4-rh87

How reproducible:
Easy

Steps to Reproduce:
1. Have a bug with links to different SFDC envs
2. Update the bug

Actual results:
A job is created for SFDC envs the environment can't sync to.

Expected results:
A job is created only for SFDC envs the environment can sync to.

Additional info:
Syncing can be controlled by the settings on the tracker as well as the enable_external_trackers system parameter.