Table of Contents |
---|
Creating an OAuth Token for FlexDeploy ITS
Go to Azure Boards and login log in as the user you want to comment on Azure Boards Issues with.
Generate a Personal Access Token in Azure Boards following this guide: Personal access tokens | Azure Boards.
Choose an expiration date based on your security policies. Shorter expiration dates will require updating the ITS more frequently.
Choose the following OAuth scopes to comment on and change status of issues:
...
An Azure Boards instance looks like this:
...
Setting Up Folders and Projects to Use the Azure Boards ITS Instance
Then back in FlexDeploy, set up your folder ITS settings like this:Azure Boards Issues only accept statuses of open and closed. Other statuses will be ignored.the Issue Tracking settings on your folders and projects.
...
Linking Azure Boards Issues to FlexDeploy Builds
Now you are ready to link tickets with commits by commit message or by manually entering them on project builds or project packages.
...
Set up your FlexDeploy Project with a ticket pattern. The pattern must be Azure Boards repo Project name + “-” + issue number.
Following this pattern, make a commit message.
...
Push and merge your change.
...
Linking by Manual Entry at Project Build Time
If you didn’t remember to put the issue number in your commit, and you are building the project manually, you can enter issue numbers Issue numbers can also be entered on the build request form to link the issue at build time.
The issue number should be Azure Boards Repo Project Name-Issue NumberIn this example, it’s maven-project-3.
...
Linking Issues to Project Packages
If you don’t put issue numbers in your commits and you are working with a package-based project, you can associate issues with packages that will live through its build and deployment lifecycle by following this pattern.Go to the project and package which you wish to link An Azure Boards Issue.
Edit the package.
Add one or more Issues by clicking the edit package button on the right panel. The dropdown only shows previously linked issues. Type the entire issue key to make a new one.
Save.
The issue number should be in the format Azure Boards Repo Project Name-Issue NumberNow. After saving, all builds and deployments of this package will automatically be associated to that Azure Boards Issue.
...