module documentation
Jira resource definitions. This module implements the Resource classes that translate JSON from Jira REST resources into usable objects.
Class |
|
A generic Agile resource. Also known as Jira Agile Server, Jira Software and formerly GreenHopper. |
Class |
|
An issue attachment. |
Class |
|
An Agile board. |
Class |
|
A project component. |
Class |
|
A Service Desk customer. |
Class |
|
An existing option for a custom issue field. |
Class |
|
A Jira dashboard. |
Class |
|
An issue navigator filter. |
Class |
|
A Jira user group. |
Class |
|
Link between two issues. |
Class |
|
Type of link between two issues. |
Class |
|
Custom data against an issue. |
Class |
|
IssueSecurityLevelScheme information on a project. |
Class |
|
Type of issue. |
Class |
|
An issue type scheme. |
Class |
|
NotificationScheme information on a project. |
Class |
|
Permissionscheme information on a project. |
Class |
|
PriorityScheme information on a project. |
Class |
|
An object for storing named attributes. |
Class |
|
A link to a remote application from an issue. |
Class |
|
A Service Desk Request Type. |
Class |
|
A resolution for an issue. |
Class |
|
Models a URL-addressable resource in the Jira REST API. |
Class |
|
A security level for an issue or project. |
Class |
|
A Service Desk. |
Class |
|
An Agile sprint. |
Class |
|
Status for an issue. |
Class |
|
StatusCategory for an issue. |
Class |
|
Undocumented |
Class |
|
A Resource from Jira that is not (yet) supported. |
Class |
|
A version of a project. |
Class |
|
Vote information on an issue. |
Class |
|
WorkflowScheme information on a project. |
Function | cls |
Undocumented |
Function | dict2resource |
Convert a dictionary into a Jira Resource object. |
Variable | resource |
Undocumented |
def dict2resource(raw:
Dict[ str, Any]
, top=None, options=None, session=None) -> Union[ PropertyHolder, Type[ Resource]]
:
(source)
¶
Convert a dictionary into a Jira Resource object. Recursively walks a dict structure, transforming the properties into attributes on a new ``Resource`` object of the appropriate type (if a ``self`` link is present) or a ``PropertyHolder`` object (if no ``self`` link is present).