question

RadekPL avatar image
0 Votes"
RadekPL asked PramodValavala-MSFT commented

Rise a issue in JIRA after new Team created in Teams

Hello

I have a case to resolve. When someone is going to create new Team in Teams i have to create a issue in JIRA. I don't see in Azure Logic App connectors to react after creating new Team.
Can someone provide me w guide how to create such a trigger?

Thank you

office-teams-windows-itproazure-logic-apps
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @myurl ,

Please kindly understand under Teams tag, we mainly focus on general issues about Teams desktop client. Considering that your issue may be more related to Azure Logic Apps, I would add azure-logic-apps. Thanks for your understanding and hope your issue would be resolved soon.

0 Votes 0 ·

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered PramodValavala-MSFT commented

@myurl While a trigger for this doesn't exist, you can subscribe to changes in teams and have a Logic App (with a HTTP Trigger) get notified. You can just subscribe to notifications without resource data to make things simpler and get the details for the team via the Get a team Action.

Finally, you just create an issue on JIRA using the action.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@PramodValavala-MSFT thank you for your answer. Does it mean to achieve this funcionality i need to create application based on Microsoft Graph?

For example the code

POST https://graph.microsoft.com/beta/subscriptions
Content-Type: application/json

{
"changeType": "created,deleted,updated",
"notificationUrl": "https://webhook.azurewebsites.net/api/resourceNotifications",
"resource": "/teams",
"includeResourceData": true,
"encryptionCertificate": "{base64encodedCertificate}",
"encryptionCertificateId": "{customId}",
"expirationDateTime": "2019-09-19T11:00:00.0000000Z",
"clientState": "{secretClientState}"
}
I should put in some Microsoft Graph function or as part of custom Logic App?

0 Votes 0 ·

@RadekPL The subscription is just a one-time requirement. The notificationUrl value could be the trigger URL of the Logic App and ensure includeResourceData is set to false, so that you don't have to deal with encryption and just use the IDs returned to fetched the required details of the team.

0 Votes 0 ·