The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Microsoft Teams Channel Creation

Rus Yates-Aylott
Contributor
January 9, 2024

We have explored using automation to post webhook updates to a pre-defined MS Teams channel. This works well.

We also have JSM/Teams integration which allows us to crate messages or meetings in Teams from within a JSM case.

Ideally, however, we would like to create a new MS Teams channel within an existing Team from within a ticket. Example:

An MS Team called 'War Room' exists. a new incident case is raised in JSM. When we take action in JSM, we want a sub-channel creating underneath 'War Room' explicitly for that incident.

Does anyone know of a way that can be achieved either manually (from with JSM) or via automation trigger?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Gabriel Rodrigues
January 9, 2024

Hi @Rus Yates-Aylott

According to Microsoft documentation, the Microsoft Graph REST API allows you to automate the creation of a channel within a team. Refer to the documentation here for details on the HTTP request. In Jira automation, you can use the 'Send web request' action to reproduce this request. Ensure proper authorization and accurately fill the request body for successful execution.

Rus Yates-Aylott
Contributor
January 11, 2024

Hi Gabriel,

I followed the rather convoluted MS process for creating a web request. I had to create an app entry in Entra.

I called this Jira Service Management. It provided me with:
Tenant ID
Client ID
and then I created a Secret Key.
I took these 3 pieces of information and using the supplied CURL code I pasted this into an online curl processor which gave me an Authorization code.

I used this in the Authorization header as bearer <value>

Everything in the Jira Automation looks as it should but I am getting this error:
Access token has expired or is not yet valid
Do you have any thoughts on where I can start looking for the reason?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events