import { type SharePermissionInput } from "https://deno.land/x/jira@v3.0.2/src/version2/models/sharePermissionInput.ts";
Properties
The type of the share permission.Specify the type as follows:
user
Share with a user.group
Share with a group. Specifygroupname
as well.project
Share with a project. SpecifyprojectId
as well.projectRole
Share with a project role in a project. SpecifyprojectId
andprojectRoleId
as well.global
Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.authenticated
Share with all logged-in users. This shows asloggedin
in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
The name of the group to share the filter with. Set type
to group
. Please note that the name of a group is
mutable, to reliably identify a group use groupId
.
The ID of the project role to share the filter with. Set type
to projectRole
and the projectId
for the
project that the role is in.