How to use the jira.resources.resource.Resource.__init__ function in jira

To help you get started, we’ve selected a few jira examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pycontribs / jira / jira / resources / project.py View on Github external
def __init__(self, options, cookies=None):
        Resource.__init__(self, 'project', options, cookies)
github pycontribs / jira / jira / resources / issue.py View on Github external
def __init__(self, options, raw=None, cookies=None):
        Resource.__init__(self, 'issue/{0}', options, cookies)
        if raw:
            self.raw = raw
            self.self = raw['self']
github pycontribs / jira / jira / resources / search.py View on Github external
def __init__(self, options, cookies=None):
        Resource.__init__(self, "search", options, cookies)
github pycontribs / jira / jira / resources / issue.py View on Github external
def __init__(self, options, cookies=None):
        Resource.__init__(self, 'issue/{0}/comment', options, cookies)
github pycontribs / jira / jira / resources / project.py View on Github external
def __init__(self, options, cookies=None):
        Resource.__init__(self, 'project/{0}', options, cookies)
github pycontribs / jira / jira / resources / issue.py View on Github external
def __init__(self, options, cookies=None):
        Resource.__init__(self, 'issue/createmeta', options, cookies)
github pycontribs / jira / jira / resources / issue.py View on Github external
def __init__(self, options, raw=None, cookies=None):
        Resource.__init__(self, 'issue/{0}/comment/{1}', options, cookies)
        if raw:
            self.raw = raw
            self.self = raw['self']