Issue
This is the baseline class for all Jira issue events such as Post functions and Listeners
This Issue
class encapsulates functionality for interacting with one Jira issue.
It includes properties and methods for various actions such as checking if an issue is a subtask, if it has a parent, attachments, comments, links, subtasks, etc.
It also provides methods for editing issues, deleting them, linking them to other issues, transitioning their status, and fetching comments. Additionally, it allows adding comments, setting properties, and provides a string representation of the issue. The class utilizes threading for certain operations to run asynchronously.
Usage
Below you can check examples of usage for this class.
Expression | Type | Parameters | Example Output |
---|---|---|---|
issue.is_subtask | property | none | True or False bool |
issue.has_parent | property | none | True or False bool |
issue.has_attachments | property | none | True or False bool |
property | none | True or False bool | |
property | none | True or False bool | |
property | none | True or False bool | |
property | none | True or False bool | |
property | none | True or False bool | |
property | none | True or False bool | |
property | none | [<Issue Object>, <Issue Object> … N] (list[Issue]) | |
property | none | "Find Replicants” str | |
property | none | <Issue Object> object | |
property | none | [<Issue Object>, <Issue Object> … N] (list[Issue]) | |
property | none | [<Issue Object>, <Issue Object> … N] (list[Issue]) | |
property | none | "Done", "In Progress”, “To Do" str | |
properties | none | any | |
property | none | [<Dict of changelog items>, … ] | |
property | none | [<Dict of comment items>, … ] Example of one comment object | |
function |
| none | |
function |
| none | |
function |
| none | |
Information on the “Value" should match expected data by the field type. | function |
| none |
function |
|
| |
function |
| response | |
function |
| none | |
function |
| none | |
function |
| none | |
function |
| any | |
function | none | dict status and seconds the issue spent in that status | |
function |
| none | |
Users must be a list of accountIds ["accountId1", "accountId2"... etc] | function |
| none |
function | none | none |
Examples
Easy for Jira - Python Automations, 2023