When a job with multiple upstream jobs is checked for a manual trigger, only the first upstream job is checked. This is resulting in missing manual triggers in my pipelines.
In my case:
jobA -> downstreamTrigger -> jobC
jobB -> manualTrigger -> jobC
isManualTrigger(jobC) wouldn't evaluate to true and a manual trigger wouldn't be added to the pipeline view.