Skip to main content

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

Release files for jiraA 0.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for jiraA 0.0.19
File Interpreter ABI Platform
jiraA-0.0.19-py3-none-any.whl Python 3 none any Details

Release files / jiraA-0.0.19-py3-none-any.whl

Download URL jiraA-0.0.19-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54dd19a01312bcda625cf626edea055b2b23dc954c0cb9bb9188d01ed2557913
BLAKE2b-256 checksum
How to use checksums
1942c54dbf999968a72a3e8b345cd16d6005bdaf54903bcec4b3f370eda2e5d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.19 This release

1 release file

0.0.18

1 release file

0.0.17

1 release file

0.0.16

1 release file

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page