Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

rule

Must be equal to set, case-insensitive.

subject

Identifies the type of the subject to which the rule applies. Must be one of group, projectRole, user, anyone. See below how to identify the subject.

level

Access level to set to the specified subject. Must be equal to one of the names of the Permission Level enum constants, case-insensitive.
Please note that Control permission is represented by the ADMIN enumeration constant.

In addition, there are fields to identify the subject.

...

code

Integer code of the error

error

Brief technical description of the error. Contains a name of the corresponding StructureError enum constant.

structureId

The ID of the structure involved.

issueId

The ID of the JIRA issue involved.

message

More detailed message, may contain technical details.

localizedMessage

User-displayable message in the REST API user locale or JIRA default locale if the user is not authenticated.

...

name

If present, the returned list will contain only structures which names contain the specified string (case insensitive).

permission

If present, the returned list will contain only structures to which the REST API user has the specified access level. Must be equal to one of the names of the Permission Level enum constants, case-insensitive. NONE is treated in the same way as VIEW.

Please note that Control permission is represented by the ADMIN enumeration constant.

withPermissions

If true, permission rules will be included in the response. Default is false.

withOwner

If true, owner will be included in the response. Default is false.

archived
If true, the returned list can also contain archived structures. Default is false.
limitIf specified, must be a number. Defines the maximum number of structures to return.

...