Skip to main content

Lib created based on documentaion https://docs.atlassian.com/DAC/rest/jira/6.1.html

Project description

JiraX

Quality Gate StatusCoverageCode Smells

General Information

Goal

Lib created based on documentaion https://docs.atlassian.com/DAC/rest/jira/6.1.html

Documentation

The Documentation can be found in this link

Generate documentation

To create the code documentation:

pdoc --html --force jiraX/ --output docs

Acess code documentation

To accesss the documenation, go to folder docs/jiraX and open index.html

To run documentation server: pdoc jiraX --http localhost:8000

Instalation

To install jiraX, run this command in your terminal:

pip install jiraX

Usage

from jira import JIRA
from pprint import pprint
from jiraX import factories as factory

user = "x@x.com"
apikey = "Apikey"
server =  'https://xyz.atlassian.net/'

project_apl = factory.ProjectFactory(user=user,apikey=apikey,server=server)
issue_apl = factory.IssueFactory(user=user,apikey=apikey,server=server)
comment_apl = factory.CommentFactory(user=user,apikey=apikey,server=server)

projects = project_apl.find_all()

for project in projects:
    pprint ("Project Data:"+project.name)
    issues_in_proj = project_apl.find_issue(project.key)
    for issue in issues_in_proj:
        pprint ("x")
        pprint ("Project Issue:")
        issueX = issue_apl.find_by_id(issue.id)
        pprint (issueX.fields.summary)
        pprint (issueX.fields.issuetype.name)
        pprint (issueX.fields.creator.accountId)
        pprint (issueX.fields.creator.displayName)
        pprint (issueX.fields.creator.emailAddress)

        
        comments = comment_apl.find_by_issue(issueX)
        pprint ("Comments:")
        for comment in comments:
            pprint ("Comment: "+str(comment.id))
            pprint (comment.body)
            pprint (comment.created)
            pprint (comment.author.displayName)
            pprint (comment.author.emailAddress)

Copyright

This lib was PowerRight by SEON Application Lib Generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jiraA-0.0.19-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file jiraA-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: jiraA-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for jiraA-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 54dd19a01312bcda625cf626edea055b2b23dc954c0cb9bb9188d01ed2557913
MD5 4abc1c271fe8ca2daad79c4d4ed2eba8
BLAKE2b-256 1942c54dbf999968a72a3e8b345cd16d6005bdaf54903bcec4b3f370eda2e5d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page