Share via

Trying to create a Workflow to Get Team's Notification from Jira

Swami, Lakshyajeet 0 Reputation points
2025-10-16T14:59:05.37+00:00

Hi Team,

I’m working on a workflow to send personalized notifications via Microsoft Teams triggered from Jira issues. The challenge is that the target users are not part of the Jira environment, so I’m storing their email addresses in a custom field within the Jira issue.

My goal is to:

  • Retrieve the email address from the custom field via a Jira webhook.
  • Use that email to send an Adaptive Card notification to the corresponding user in Microsoft Teams.

I need help with:

  • Extracting the custom field value correctly from the webhook payload.
  • Structuring the Power Automate flow to dynamically send the notification to the user based on that email.
  • Ensuring the Teams connector can target users outside the Jira environment using their email.

Could you please guide me on how to retain and use the custom field value from the webhook and trigger the Teams notification accordingly?

Thanks in advance!

Microsoft Teams | Microsoft Teams for business | Chats | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Ruby-N 11,730 Reputation points Microsoft External Staff Moderator
    2025-10-16T18:30:26.8066667+00:00

    Dear @Swami Lakshyajeet

    Thank you for posting your question in the Microsoft Q&A forum.   

    You're currently setting up a workflow to send Teams notifications from Jira issues, using a custom email field to reach users outside of Jira. The goal is to extract that email from the webhook and send an Adaptive Card via Power Automate. 

    As our support scope primarily covers Office 365 products and we have limited resources specific to Power Automate, I’m happy to share some foundational guidance based on Microsoft’s official documentation to help you verify your setup and move forward with confidence. 

    To extract the email from the webhook and send an adaptive card, you may consider referring to these steps:  

    Step 1: Extract email from Jira webhook payload 

    When Jira triggers a webhook, it sends a JSON payload. To extract the custom field value (email address), follow these steps: 

    Set up a Power Automate flow with the HTTP Request trigger to receive the webhook. 

    In the flow, use the “Parse JSON” action to interpret the webhook payload. 

    Define the schema based on a sample payload from Jira. You can copy a sample webhook payload and paste it into the schema generator. 

    Access the custom field using dynamic content like: 

    triggerOutputs()?['body']?['fields']?['customfield_XXXXX'] 

    Replace customfield_XXXXX with your actual custom field ID. 

    Step 2: Send adaptive card to Microsoft Teams user via email 

    To send a message to a user in Teams using their email: 

    Use the Microsoft Teams connector in Power Automate. 

    Choose the action “Post adaptive card in a chat or channel”. 

    For Post in, select “Chat with bot”. 

    For Recipient, use the email address extracted from the webhook payload. 

    Paste your Adaptive Card JSON into the message field. 

    Notes: 

    • The recipient must be a Teams user within your organization or tenant. External users may not receive messages unless they are guest users with appropriate permissions. 
    • Ensure the Workflows app is enabled in Teams Admin Center. 

    Additional information is available in the following resources: 

    Use a webhook as a trigger for Azure Logic Apps and Power Automate | Microsoft Learn 

    Send proactive Microsoft Teams messages - Microsoft Copilot Studio | Microsoft Learn 

    Create flows that post adaptive cards to Microsoft Teams - Power Automate | Microsoft Learn  Microsoft Teams - Connectors | Microsoft Learn 

    Alternatively, while our general Microsoft 365 forums can help with basic Teams issues, the creation and troubleshooting process is best supported by experts in the Power Platform community. I recommend you post your issue there: Microsoft Power Platform Community. You'll find a very active group with Microsoft MVPs, product experts, and experienced users who can provide detailed, step-by-step guidance. 

     User's image

    Apologies for redirecting you to a different community as the members of the posted category focus on users with Microsoft 365 concern and have limited knowledge about Power Automate, so to get quicker and better assistance, we redirect you in the correct way. 

    As community moderators, we kindly ask for your understanding that our access to internal development details is limited. Our primary role is to guide users toward the appropriate resources and support channels. While we may not have visibility into performing deeper backend analysis, we’ll continue doing our best to support you within the scope of our responsibilities.  

    I hope the information provided proves useful. Should you have any questions or need further assistance, feel free to reach out at any time. 
    Thank you for your patience and understanding throughout this process.  


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.