-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Jira - Migration Assistant - Export
-
None
-
1
Problem Definition
Currently JCMA do not migrate the JSM projects request types restriction from DC to cloud.
https://confluence.atlassian.com/servicemanagementserver/setting-up-request-types-939926357.html
Suggested Solution
JCMA to migrate request types restriction.
Why This Is Important
Restricted request types are visible to all JSM customer.
Reconfiguring all the migrated projects after DC to cloud migration takes too much manual work and time consuming tasks.
Workaround
Use 3rd party tools like Extension for Jira Service Management
(OR)
Reconfigure the restrictions and visibility after DC to cloud migration.
SQL query to find the restrictions limited to users, groups.
SELECT
p.pkey AS project_key,
p.pname AS project_name,
rt."ID" AS request_type_id,
rt."NAME" AS request_type_name,
pg."ID" AS portal_group_id,
pg."GROUP_NAME" AS portal_group_name,
perm."ID" AS restriction_id,
perm."PERM_ENTITY_TYPE" AS restriction_entity_type,
CASE perm."PERM_ENTITY_TYPE"
WHEN 0 THEN 'User'
WHEN 1 THEN 'Group'
WHEN 2 THEN 'Organization'
ELSE 'Unknown'
END AS restriction_type,
perm."PERM_ENTITY_ID" AS allowed_entity
FROM "AO_54307E_VIEWPORTFORMPERM" perm
JOIN "AO_54307E_VIEWPORTFORM" rt
ON rt."ID" = perm."REQUEST_TYPE_ID"
JOIN "AO_54307E_VIEWPORT" vp
ON vp."ID" = rt."VIEWPORT_ID"
JOIN project p
ON p.id = vp."PROJECT_ID"
LEFT JOIN "AO_54307E_GROUPTOREQUESTTYPE" grt
ON grt."REQUEST_TYPE_ID" = rt."ID"
LEFT JOIN "AO_54307E_GROUP" pg
ON pg."ID" = grt."GROUP_ID"
AND pg."VIEWPORT_ID" = vp."ID"
WHERE p.pkey = '<PROJECT_KEY>'
ORDER BY
p.pkey,
rt."NAME",
pg."GROUP_NAME",
perm."PERM_ENTITY_TYPE",
perm."PERM_ENTITY_ID";