JiraX
General Information
- Software:Jira
- Author:Paulo Sérgio dos Santos Júnior
- Author's e-mail:paulossjunior@gmail.com
- Source Repository: https://gitlab.com/integration_seon/libs/application/jira
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
Metadata
Release files for jiraX 18.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jiraX-18.0.0-py3-none-any.whl | Python 3 | none | any | Details for jiraX-18.0.0-py3-none-any.whl |
Release files / jiraX-18.0.0-py3-none-any.whl
| Download URL | jiraX-18.0.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9df773ef4510d649c799c01df33db931204986bc8c48c93a34beb485b4cdbee2
|
|
BLAKE2b-256 checksum How to use checksums |
88511fae95162b7805182465a66d8ccd4d37d45dba5f0c515763a331ae18d21f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for jiraX 18.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.