Comments (5)
Thanks @shayki5 for you help and prompt email responses! Great extension. Very valuable for me and my client.
Note to others who may run into a similar issue: you may also need to grant the build service account Contributor permission on the target project in addition to the target repo.
from azure-devops-create-pr-task.
hI @puremcc,
If you now link the work items is it works? or you get the same error in another API call?
from azure-devops-create-pr-task.
The log above was from a run where I had the Link work items
option checked (True).
I have now tried running with the Link work items
option unchecked (False), and I no longer see any error, but the PR still does not get created.
Some additional info:
My pipeline is running in a separate project ('Project A') from the repo where I'm trying to make the PR ('Project B'). However, I have made sure to grant permission to the 'Project A' build service to 'Contribute to Pull Requests' on the repo in 'Project B'.
from azure-devops-create-pr-task.
Thanks for the info.
Can you run the pipeline with system.debug
= true
and share here the logs?
from azure-devops-create-pr-task.
After Mike shared the logs with me we noticed it's was a permissions issue.
from azure-devops-create-pr-task.
Related Issues (20)
- Does not work under Linux x64 agent HOT 1
- Running Task in self-managed agent behind a Proxy HOT 6
- Getting 403 Forbidden in the CreatePullRequestTask HOT 1
- Set the creator of the PR to the author of the commit instead of the Build Service User HOT 2
- Wildcard support in targetBranch HOT 7
- Create PR by other user than "project collection build service" HOT 9
- Running on Azure windows-latest agent pool still task is failing HOT 2
- Enhancement - Add work item via ID/URL HOT 1
- Getting error The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel HOT 13
- Automatically complete PR HOT 1
- 400 Bad Request to bypass PR policies HOT 4
- Feature request: add support for git tags
- Is "deleteSourch" a typo? HOT 1
- Version 1.2.363 breaks pipeline for branch with forward slash HOT 3
- Can't set Auto Complete to PR HOT 2
- Error (404) Not Found when adding reviewers on my PR (Azure DevOps) HOT 6
- alwaysCreatePr does not work HOT 1
- Use original git commit message as description (ADO) HOT 6
- Can't check "Delete Source Branch" when using "Bypass Policies" HOT 4
- Autocomplete option not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-create-pr-task.