A link to a remote application from an issue.
Method | __init__ |
Initializes a generic resource. |
Method | update |
Update a RemoteLink. 'object' is required. |
Instance Variable | raw |
Undocumented |
Inherited from Resource
:
Method | __eq__ |
Default equality test. |
Method | __getattr__ |
Allow access of attributes via names. |
Method | __getstate__ |
Pickling the resource. |
Method | __hash__ |
Hash calculation. |
Method | __repr__ |
Identify the class and include any and all relevant values. |
Method | __setstate__ |
Unpickling of the resource. |
Method | __str__ |
Return the first value we find that is likely to be human-readable. |
Method | delete |
Delete this resource from the server, passing the specified query parameters. |
Method | find |
Finds a resource based on the input parameters. |
Constant | JIRA |
Undocumented |
Method | _default |
Undocumented |
Method | _find |
Finds a resource on the specified url. |
Method | _get |
Gets the url for the specified path. |
Method | _load |
Load a resource. |
Method | _parse |
Parse a raw dictionary to create a resource. |
Constant | _HASH |
Undocumented |
Constant | _READABLE |
Undocumented |
Instance Variable | _base |
Undocumented |
Instance Variable | _options |
Undocumented |
Instance Variable | _resource |
Undocumented |
Instance Variable | _session |
Undocumented |
Dict[ str, str]
, session: ResilientSession
, raw: Dict[ str, Any]
= None):
(source)
¶
jira.resources.Resource.__init__
Initializes a generic resource. Args: resource (str): The name of the resource. options (Dict[str,str]): Options for the new resource session (ResilientSession): Session used for the resource. base_url (Optional[str]): The Base Jira url.
jira.resources.Resource.update
Update a RemoteLink. 'object' is required. For definitions of the allowable fields for 'object' and the keyword arguments 'globalId', 'application' and 'relationship', see https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+for+Remote+Issue+Links. Args: object: the link details to add (see the above link for details) globalId: unique ID for the link (see the above link for details) application: application information for the link (see the above link for details) relationship: relationship description for the link (see the above link for details)