...
When installing a new Jira Application (Jira Software or Jira Service Management) into Jira Cloud, the JEMHC Application User (Enterprise Email Handler for Jira (JEMH) will not have product access for that new Jira Application and cannot create issues in projects that use the new Jira Application.
Example Error Message
If you are getting a similar error messages to the image below then the JEMHC Application User (Enterprise Email Handler for Jira (JEMH) does not have the correct Product Access.
...
This is due to the order in which the products were installed into Jira Cloud. Below are three installation flows. One flow will not cause this error message and two of the flows will cause the error messages seen above.
Working Flow | Non working flows | |
---|---|---|
This flow allows the |
JEMHC application user to create issues in both project types | This flow only allows the |
JEMHC application user to create issues in Software |
projects | This flow only allows the |
JEMHC application user to create issues in JSM |
projects | ||
|
|
|
...
Identify if JEMHC app user has the relevant product access
The solution is to manually grant the JEMH application user access to that new Product. However, since the application user is hidden from User Management page it means that you have to follow the steps below to access the JEMH application user profile and grant them access:
Go to JEMH > Tools > User Finder and search for “Enterprise Email Handler for Jira (JEMH)”. Copy the Account Id as this is needed later.
Go to (cog) > User Management > Users and select “Show Details” on a random user.
Modify the URL by removing all of the digits after “users/” and replace this with the copied Account Id for “Enterprise Email Handler for Jira (JEMH)”.
Below is a screenshot of a example URL. The orange rectangle is the section of the URL that needs to be changed.
...
Once the above steps are complete you will have access to the JEMH application users Profile and you will be able to grant the Application User access to the required Products by pressing “Add Products”easiest way to if the app is lacking product access is to view the groups that the JEMHC app user is a member of. Currently, this can only be done by using the Jira Cloud REST API to gather a specific user’s groups, as Atlassian does not allow app users to be viewed within User Management.
For example using the below Rest API URL: (will need to replace “Base-URL” with your specific Jira cloud URL):
Code Block |
---|
https://Base-URL/rest/api/2/user/groups?accountId=557058:1aad7a42-0087-42dc-9dda-6674a94917d9 |
Info |
---|
Notes:
|
Required Groups for providing Product Access:
The groups that this user is added to will depend on the products that are installed. For example:
If you have only Jira Software installed then only
jira-software-users-BaseUrl
/jira-users-BaseUrl
will be required:If you have both Jira Software and Jira Service Management installed then both
jira-software-users-BaseUrl
/jira-users-BaseUrl
andjira-servicemanagement-users-ryan-access-testing
are required:
Info |
---|
If you’ve changed the default groups that provide product access, then they’ll need to be used instead. |
Solution
If the JEMHC app user lacks a group for relevant product access, uninstall and reinstall the app via Manage Apps to recreate the user, which will grant appropriate access.
Info |
---|
Note:
|