How to enable Jira notifications from a filter inside a Teams chat?

srinivas.nallapu February 7, 2024

I have created a Teams chat with all employees from a team, and there's a Jira filter relevant for this team which consists of all issues that need to be resolved by them. I want Jira to send notification to this chat whenever a new issue is added to the filter. How to do it?

2 answers

1 accepted

0 votes
Answer accepted
Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2024

Hi @srinivas.nallapu ,

 

If your filter can be expressed in JQL, you can use an automation rule (go to project settings -> automation -> Create Rule) like the one below 

Screenshot 2024-02-08 at 4.38.23 PM.png

The JQL condition I've added is a pretty simple one, but you can add complex logic to match your filter.

 

Hope that helps!

Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2024

Also, the action I've used is to send an email, but there's a "Send Microsoft Teams message" action available as well.

srinivas.nallapu February 8, 2024

I don't have access to Jira Settings as my admin has not configured it yet, is there a workaround?

Hariharan Iyer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2024

Just to be clear, this is in "Project Settings" and not "Jira Settings". Do you have access to that? If not, unfortunately there is no way but to ask your admin to either provide you the access or configure the rule themselves.

Like srinivas.nallapu likes this
0 votes
Ignacio Aredez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2024

1. Create a Jira Filter
First, you need to create a filter in Jira that captures the specific issues you want to receive notifications for.

Go to Issues in Jira.
Use the search functionality to define your criteria (e.g., project, issue type, status).
Once you're satisfied with the search results, click on Save as to save the search as a filter.
Give your filter a name and save it. Optionally, you can share this filter with others or keep it private.


2. Get the Filter Subscription URL
For integrating with external tools like Microsoft Teams, you might need the RSS feed URL of your Jira filter or use the filter ID in API calls. While Jira Cloud directly doesn't offer an RSS feed as older versions did, you can use the filter ID in Jira's REST API to fetch filter results.

Navigate to your saved filter and click on Details or Share to find the filter ID in the URL.


3. Microsoft Teams Setup
Integrating Jira notifications into Teams typically requires using an intermediary service or app that can connect Jira's API or webhook functionality with Microsoft Teams. You can use Microsoft Power Automate, Jira Cloud for Microsoft Teams app, or other third-party services like Zapier.

Using Microsoft Power Automate:
Go to Microsoft Power Automate and create a new flow.
Select a trigger like "When an HTTP request is received" or choose a pre-built Jira connector if available.
Configure the action to fetch information from your Jira filter using Jira's REST API and the filter ID.
Add an action to post a message to a Microsoft Teams channel, configuring it with the details fetched from Jira.
Using Jira Cloud for Microsoft Teams app:
Install the Jira Cloud app in Microsoft Teams from the Teams app store.
Use the app's configuration options to connect to your Jira instance.
Depending on the app's functionality, you might be able to subscribe directly to Jira filters or use JQL (Jira Query Language) within the app to specify which notifications to receive in Teams.


4. Test and Adjust
After setting up, create a test issue in Jira that matches your filter criteria to ensure notifications are correctly posted in your Microsoft Teams chat. Adjust the filter, Jira API query, or Microsoft Teams integration settings as necessary to fine-tune the notifications.

Notes and Considerations
Permission Levels: Ensure you have the necessary permissions in both Jira and Microsoft Teams to set up integrations.
Security and Privacy: Be mindful of the information being shared through notifications, especially if the Teams channel includes external members.
API Rate Limits: If using Jira's API, be aware of rate limits to avoid service disruptions.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events