MS Teams Integration Documentation #12060120/HEAD / v2374 |
Tags:
not added yet
NOT REVIEWEDTable of Contents
Notes about the integrationIn order to use the integration you need to have a codeBeamer MX account. Registration through the MS Teams app is not supported currently. There are two ways to setup and use the integration:
Please note that for the integration to work, the codeBeamer MX instance needs to be publicly accessible so MS Teams can send requests to the instance. Integration setup/configurationFor the configuration to work, you will need to provide your Teams tenant ID. The tenant ID can be found by signing in to Teams, clicking on the more menu at one of your teams, and selecting the "Get link to team" option. This will show an URL which contains the tenant ID.
To configure the integration, System Admin permission is required because you will need to alter the codeBeamer MX instance's application configuration. For using the codeBeamer MX Integration app from AppSourceThis configuration is responsible to recognise incoming requests from Teams and act on them to send results back. It also responsible to validate requests too.
For the necessary passwords and secrets used in our Application Configuration, please contact our support team. Make sure that no other "chat-ops" integration is enabled (e.g. Slack) while the MS Teams integration is enabled with the "enabled": true property. After the codeBeamer MX configuration has been saved, the instance needs to be registered to our traffic routing server to be able to receive requests from Teams. To register the instance, find the "MS Teams configuration" option on the System admin page.
There will be the previously configured tenant ID printed along with a button saying "Register tenant ID with current endpoint". Click on the button and if the "tenantID" and "registrationURL" configuration properties are correct, a registration successful message will appear.
Please note that one instance can be only associated with one tenant ID so after a successful registration the tenant ID - instance pair cannot be changed. In case a change is required, please contact our support team. For notification sending to work correctly the tenant's administrator needs to consent to the application's permissions. This makes codeBeamer MX possible to search, validate or even create channels in Teams. To consent to the application's permissions, find the MS Teams configuration option on the System admin page and click on the "Consent notification sending permissions" button.
This will open a new tab where Microsoft prompts for the consent, click on accept to continue.
After this, your tenant can access the application which allows the above mentioned behavior to work. Please note that for notification sending, the codeBeamer MX bot needs to be installed/a member in the Teams team where the notifications are expected. The only thing left to do is download and install the codeBeamer MX Integration app from AppSource in Teams. For using a custom MS Teams appThis is the recommended way to use the integration if your codeBeamer MX instance runs from a different cloud provider or it is self hosted. Please note that you will need granted permissions to install a custom application for your team in Teams. Create the custom applicationcodeBeamer MX has the following REST endpoints to support the Teams integration: For executing commands with codeBeamer MX Bot: https://codebeamer-mx-instance.com/cb/rest/chatops/command For configuring common cardboard tabs: https://codebeamer-mx-instance.com/mx/#/msteams/configure-tab where the "codebeamer-mx-instance.com" is the publicly available URL of the codeBeamer MX instance. The first thing to do is to create the custom Teams application and the URLs above needs to be used for its configuration.
Next you need to create a new app registration at https://portal.azure.com.
These were the necessary configurations outside of codeBeamer MX, now the following configuration is necessary in codeBeamer MX: This configuration is responsible to recognise incoming requests from Teams and act on them to send results back. For filling the properties, use the:
Make sure that no other "chat-ops" integration is enabled (e.g. Slack) while the MS Teams integration is enabled with the "enabled": true property. Prepare the usageWhen everything is ready for use, you need to tell codeBeamer MX who are you in Teams, in other words you need to pair your codeBeamer MX account with the account you use in Teams. Note: You only have to pair the accounts once and it does not matter whether you do the account connection with the cardboard tabs or codeBeamer MX Bot. Pairing Your accounts using common cardboard tabs
Pairing Your accounts using with codeBeamer MX Bot
Integration FeaturesThere are three main features of the integration app:
Common cardboard tabsThe common cardboard tabs is a tab where everyone can see the same cardboard wheter it shows tickets from a tracker of from a release. At configuration the configurator need to select a workspace first, then a tracker or a release from that workspace depending on the selected cardboard type. The displayed cardboard is the same cardboard that you can access in codeBeamer MX, except there are a few limitations:
This means that the user can change status, edit items using the sidebar or use swimlanes like in codeBeamer MX Tickets are updated on the fly if there is any change happens to them. Each Teams user who use this cardboard, needs to sign in to codeBeamer MX first before accessing the cardboard tab, this means that users who does not have access to that cardboard won't see it in Teams either. Every change made on the tickets from Teams, reflected in codeBeamer MX as well.
codeBeamer MX BotcodeBeamer MX Bot can be used as a one-on-one conversation chat bot or You can invite it to group conversations. Executing commandsTo execute commands with codeBeamer MX Bot, you only need to send the command as a plain text message to the bot directly, or prepend a mention of the bot to the command if you are in a group conversation. codeBeamer MX Bot will send back the result of the command execution as a message. Keep in mind that in a group conversation everyone will see the bot response, even if someone would not have permission to see that specific content in codeBeamer MX. codeBeamer MX Bot can respond with a message that contains further actions. All of these actions can be executed with a separate command but you can choose to execute the command using the actions from the response message. Execute the 'help' command to find out what codeBeamer MX Bot can do. Available commands:
Replace the term [ID] with a work item's ID like this: 1091 details
Notification sendingThe notification sending can be enabled or disabled from the application configuration with system admin permission. Use the property "notificationsEnabled": true under "msTeams" then "notificationConfig" to enable notification sending. Notification sending can be configured for each tracker, at the tracker configuration, notification tab. For the MS Teams integration, you need to provide a valid team name and a channel name. This will be the channel where the notifications from that tracker will be sent. If you provide a non-existing channel name, you have the option to create that channel on the fly. The team name should exist it cannot be created on the fly like a channel. When an event, like work item update, create or delete happens, a notification will be created and sent to the configured channel. The notification will contain information about the event and work item too. If there is no channel configured for a tracker, you won't receive notifications from that tracker in Teams. Notifications will be sent on the following events:
You can configure the same channel for multiple trackers but it is possible to create a separate channel for each tracker too.
|
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.