How to control which projects synchronize user information?

 Problem

There are Jira projects that do not appear to use the custom fields created through the User Profiles for Jira Cloud app. For example, because no custom fields created via the app are assigned to any screens. Nevertheless, every time issues are updated, user information is retrieved from Microsoft 365 and written to those issues. (This can also be seen in the issues' history.)

This leads to unnecessary data traffic and synchronization takes longer than necessary.

Cause

Our User Profiles for Jira Cloud app synchronizes user information into all issues that are associated with custom fields created by our app. This is controlled by the context that those fields are assigned to. When created through our app, all fields are added to the global context by default (i.e. they are available on all issues).

Not having the custom fields on any screens does not change this behavior.

 Solution

To stop updating issues for specific projects, you can change the context configuration for each custom field. There are two possible approaches to achieve this:

  1. Remove the "global context" assigned to each field and add a custom one.

  2. Edit the existing “global context”.

While configuring the context you can then decide in which projects the fields should be available. Our app will honor this configuration and stop to update issues from projects that were excluded in the context configuration.