The Azure DevOps integration starts a BoldCreate session from a work item. A session starts when someone @mentions the BoldCreate user in a comment, when a work item is assigned to it, or when a tag you chose is added. BoldCreate then comments the session link on the work item, and comments a summary when the session finishes.
This page covers the prerequisites, how to connect an organization, how to turn on projects, and how to turn them off. To use Azure DevOps events in automations, see Azure DevOps in automations.
Prerequisites
Check these items before you connect. Most setup errors come from one of them.
BoldCreate
- You are a BoldCreate Admin. Only admins connect organizations, change project settings, or remove a connection.
- You can sign in to BoldCreate. See Sign in and access.
Azure DevOps
- A dedicated user for BoldCreate. Use a separate account, not your own. BoldCreate posts its comments as this user, so people can see which comments came from BoldCreate.
- Access to each project. The BoldCreate user must be able to read work items and add comments in every project you turn on.
- Edit subscriptions permission in each project. BoldCreate sets up event delivery for a project when you save its settings. The BoldCreate user needs the Edit subscriptions permission for that project. In most organizations, this means the user is a Project Administrator. If the user lacks this permission, Azure DevOps refuses the request and BoldCreate does not save the project. This prevents a project from looking active in BoldCreate while Azure DevOps sends it no events.
- Read access to the repository. BoldCreate refuses a work item only when no one who can start the session can read the repository. Its comment names the repository.
- Work item fields or a description format for the repository and branch. BoldCreate can read them from named fields, such as
Custom.RepositoryandCustom.Branch, or fromRepo:andBranch:lines in the work item description. You choose which source to check first.
Microsoft Entra ID
You don’t create an app registration. BoldCreate uses its own Microsoft Entra app. Your tenant only needs to allow the BoldCreate user to sign in and approve the app.
- Consent. The first time the BoldCreate user signs in, Microsoft asks for consent to the permissions below. If your tenant does not allow users to consent, a Microsoft Entra administrator must approve the app first.
- Conditional access and multi-factor authentication. If your tenant has these policies, the BoldCreate user must meet them when signing in. A blocked sign-in shows Microsoft’s error in BoldCreate.
The app asks for these Azure DevOps permissions:
| Permission | Why it is needed |
|---|---|
vso.profile | Identifies the BoldCreate user, so BoldCreate ignores its own comments. |
vso.work_write | Reads work items and adds comments. |
offline_access | Keeps the connection working after the first sign-in. |
BoldCreate does not use a personal access token. You don’t need to create one.
Network
- Azure DevOps sends events to BoldCreate over the internet. The BoldCreate endpoint must be reachable over HTTPS.
- Azure DevOps rejects
localhostand other loopback addresses. You can’t receive events on your own computer without a public tunnel.
Step 1: Connect the organization
-
In the sidebar, select Integrations.
-
In the Integration section, select Connect Organization.
-
In the Connect Azure DevOps Organization dialog, enter the organization name. This is the name that follows
dev.azure.com/in your organization’s URL. Forhttps://dev.azure.com/acme, enteracme. -
Select Sign in with Microsoft. Microsoft opens in your browser.
-
Sign in with the BoldCreate user account, not your own account. Approve the requested permissions when Microsoft asks.
Result: BoldCreate returns you to the Integrations page. The Azure DevOps row shows the organization name, for example Azure DevOps · acme.
Step 2: Turn on projects
Nothing starts until you turn on a project. Each project is set up separately.
-
On the Integrations page, in the Azure DevOps organization row, select the Project settings icon. The list of projects opens.
-
Find the project, and select Settings in its row.
-
Under Start a session when, select the events that should start a session. See Choose your triggers.
-
If you select Tag added, a Tags (comma separated) field appears. Enter the tags there, for example
bold-create, ai. Tags not in this list are ignored. -
Under Repository source, choose where BoldCreate looks first, in Look first in:
- Description: BoldCreate reads the
Repo:andBranch:lines in the work item description. - Custom fields: BoldCreate reads the work item fields you choose. Select the Custom Fields checkbox, then pick the fields in Repo field and Branch field.
- Description: BoldCreate reads the
-
Optionally, set Default repo and Default branch. BoldCreate uses them when the work item does not name a repository or branch.
-
Select Save.
Result: BoldCreate saves the project and turns on its events. If the save fails with a permission error, the BoldCreate user lacks Edit subscriptions for that project. Give the permission, then select Save again.
You must pick at least one trigger. If you select Tag added, you must enter at least one tag.
Choose your triggers
Each trigger turns on one kind of event. Start a session when in the project settings shows these names.
| Trigger in BoldCreate | Starts a session when | Session owner |
|---|---|---|
| User mentioned | A comment @mentions the BoldCreate user. | The BoldCreate member whose email matches the commenter. If there is none, the admin who connected the organization. |
| Work item assigned | The work item is assigned to the BoldCreate user. | The admin who connected the organization. |
| Tag added | A tag from your list is added to the work item. | The BoldCreate member whose email matches the work item’s assignee. If there is none, the admin who connected the organization. |
If the owner can’t read the repository, BoldCreate tries the admin who connected the organization.
Only one session runs for a work item at a time. If a trigger fires while a session is running, BoldCreate starts no new session.
BoldCreate ignores its own comments, so a comment that BoldCreate posts never starts a session.
Start a session with a mention
- Open a work item in Azure DevOps.
- In a comment, @mention the BoldCreate user, and describe the task. Add
Repo:andBranch:lines to the description if you use the description source. - Post the comment.
Result: BoldCreate comments the session link on the work item. When the session finishes, BoldCreate comments the summary.
Turn off a project
Turning off a project stops BoldCreate from starting sessions from its work items.
- On the Integrations page, in the Azure DevOps organization row, select the Project settings icon.
- In the project’s row, select Settings.
- Select Turn off.
Result: BoldCreate removes the project’s event delivery from Azure DevOps and stops starting sessions from it. The project’s settings are removed, so you need to set them up again to turn the project back on.
Check the connection
On the Integrations page, a project that is turned on but has missing event delivery shows Hooks missing: save to repair. Open its Settings and select Save to repair it.
Remove the connection
-
On the Integrations page, select the Remove icon next to the organization.
-
In the Remove dialog, select Remove.
Result: BoldCreate removes the event delivery for every turned-on project in the organization, and stops starting sessions from it.
To revoke BoldCreate’s access on the Microsoft side, the BoldCreate user can remove the app from its Microsoft account settings.
Troubleshooting
| Problem | What to do |
|---|---|
| Saving a project fails with a permission error. | The BoldCreate user needs Edit subscriptions for that project. Usually this means making the user a Project Administrator. Then select Save again. |
| Microsoft shows a consent or conditional access error. | Ask a Microsoft Entra administrator to approve the app or allow the sign-in for the BoldCreate user. |
| The connection stops after about an hour. | The connection was made without offline access. Remove the connection, connect again, and approve all requested permissions. |
| A comment @mentions BoldCreate, but no session starts. | Check that the project is turned on and that User mentioned is selected. Check that the mention names the BoldCreate user. |
| A tag is added, but no session starts. | Check that Tag added is selected and that the tag is in the Tags (comma separated) list. |
| BoldCreate comments that the repository can’t be read. | Give at least one BoldCreate member read access to the repository, or set the repository in the work item field or description. |
| A session does not start for a work item that already has one running. | Wait for the running session to finish, then trigger it again. |
| The project shows Hooks missing: save to repair. | Open the project’s Settings and select Save. |
Related
- Azure DevOps in automations
- Integrations overview
- Set up Microsoft Entra ID in BoldCreate for user provisioning with SCIM
- Configure single sign-on for signing in with Entra ID