Assign issues to teammates

Last updated:

|

Error tracking enables you to assign issues to specific PostHog roles or teammates. This helps your team find relevant issues through filtering. You can also set up team-specific alerting to notify them when assigned issues are created or reopened.

Assigning issues

You can manually assign issues as you triage them in the UI. This can be done both in the issue list and issue detail pages.

Error tracking assignment UI
  1. In your error tracking issue list, click the unassigned selector under each issue to assign it to a role or user.

  2. On the detail page of each issue, click the Assignee selector to assign it to a role or user.

Want to assign issues to a team rather than an individual teammate? You can create a role in your project settings.

Error tracking role assignees

Automatic issue assignment

You can set up automatic issue assignment through a set of rules. This can be configured in the error tracking settings using auto assignment rules.

Error tracking auto assignment rules

Assignment conditions are evaluated against the properties of the exception event that created the issue. Because assignment rules are evaluated during ingestion, the stack trace (if present) will be unminified, which enables filtering on exception properties such as function name and source file.

Issues can be automatically assigned to a role or user by configuring a set of filters. These filters can be configured to match any or all of the criteria.

You can configure automatic assignment to filter on any event property in PostHog. When there are multiple values for a property, the filters return true if it matches any of the values. For example, if you have multiple exception_functions values, the filters returns true if it matches any of the functions.

Here are some common properties you can filter on:

PropertyEvent propertyDescription
Exception type$exception_typesThe type of exception(s) that occurred.
Exception message$exception_valuesThe message(s) detected on the error.
Exception function$exception_functionsThe function(s) where the exception occurred.
Exception source$exception_sourcesThe source file(s) where the exception occurred.
Exception was handled$exception_handledWhether the exception was handled by the application.
Device type$device_typeThe type of device that the error occurred on.
Browser$browserThe browser that the error occurred in.
Current URL$current_urlThe URL that the error occurred on.
Feature flag$feature_flagThe feature flag that the error occurred on.

You can also set custom properties on the error tracking event to filter on. For example, setting a custom params_received property to provide more context or debug information.

Order of issue assignment rules

Issue assignment filters are evaluated in the order they are configured. They can also be reordered once created. The first filter that matches is used to assign the issue. This means you should configure the most specific filters first, and then the more general filters later.

Alerting based on assignment

A common use case for automatic issue assignment is to alert assignees of new issues. Once the issues are automatically assigned, you can set up alerts to notify the assignee. See the alerts guide for more information.

Questions? Ask Max AI.

It's easier than reading through 807 pages of documentation

Community questions

Was this page useful?

Next article

Track external issues in GitHub and Linear

Other than assigning issues to team members in PostHog, you can also create issues in other tracking systems you use like GitHub Issues or Linear. If you use another issue tracking system and would like to request it, let us know in-app . Setting up external tracking You can set up external tracking in the error tracking settings . Click Connect workspace and follow the prompts to connect your issue tracking system. PostHog connects to GitHub by installing a GitHub application. PostHog…

Read next article