Forum Discussion
petni330
Oct 09, 2023Copper Contributor
Trigger pipeline from repo in another org and project
Hello community, I am in need of some help with Azure Pipelines. I need to trigger a pipeline from a repository in another project and org. For this I am using a PAT with full access to the sourc...
Kidd_Ip
Aug 17, 2025MVP
Please try the workaround below:
- Use Pipeline Completion Triggers
Set up a pipeline in the remote repo that runs on commit, and configure your target pipeline to trigger when that pipeline completes:
resources:
pipelines:
- pipeline: remotePipeline
source: RemoteProjectPipeline
project: RemoteProject
trigger:
branches:
include:
- main
This requires the remote repo to have its own pipeline that runs on commits.
- Use Scheduled Triggers
If real-time triggering isn't critical, you can schedule your pipeline to run periodically:
schedules:
- cron: "0 * * * *" # every hour
displayName: Hourly trigger
branches:
include:
- main
- Use Webhooks + REST API
Set up a webhook in the remote repo to call the Azure DevOps REST API and trigger the pipeline manually. This requires a bit of scripting and a secure endpoint, but it gives you full control.