Skip to content

Commit df3b7d4

Browse files
authored
[Insight] Adding More Methods (#965)
* [Insight] Add Insight methods and update docs * update readme * resolve pep257 style checks * Fix linting issues
1 parent 04f5506 commit df3b7d4

File tree

3 files changed

+272
-12
lines changed

3 files changed

+272
-12
lines changed

CONTRIBUTING.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Getting Started
1616
* Start up related product:
1717
- Standalone product atlas-run-standalone_
1818
- For cloud product, just do registration
19-
* Run the quality checks with `make qa` or if you have docker installed with `make docker-qa`
19+
* Run the quality checks with `make qa` or if you have docker installed with `make docker-qa`
2020
* Send pull request
2121

2222
.. _Fork: https://help.github.com/articles/fork-a-repo/
@@ -110,6 +110,9 @@ All methods based on docs from: https://developer.atlassian.com/docs/
110110
* Advanced Roadmaps (formerly Portfolio for Jira)
111111
- `Portfolio for Jira`_
112112
- `Portfolio for Jira Teams`_
113+
* Insight
114+
_`Insight Server`_
115+
_`Insight Cloud`_
113116
* Bitbucket:
114117
- https://developer.atlassian.com/server/bitbucket/reference/rest-api/
115118
- https://developer.atlassian.com/server/bitbucket/how-tos/command-line-rest/
@@ -140,7 +143,8 @@ All methods based on docs from: https://developer.atlassian.com/docs/
140143
.. _`Jira Service Desk Server`: https://docs.atlassian.com/jira-servicedesk/REST/server
141144
.. _`Portfolio for Jira Teams`: https://docs.atlassian.com/portfolio-for-jira-server/REST/2.13.0/teams/
142145
.. _`Portfolio for Jira`: https://docs.atlassian.com/portfolio-for-jira-server/REST/2.13.0/jpo/
143-
146+
.. _`Insight Server`: https://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/
147+
.. _`Insight Cloud`: https://developer.atlassian.com/cloud/insight/rest/api-group-objectschema/#api-objectschema-list-get
144148

145149
Credits
146150
-------

README.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Also, you can use the Bitbucket module e.g. for getting project list
7777
url='http://localhost:7990',
7878
username='admin',
7979
password='admin')
80-
80+
8181
data = bitbucket.project_list()
8282
print(data)
8383
@@ -92,10 +92,25 @@ Example to get your requests:
9292
url='http://localhost:7990',
9393
username='admin',
9494
password='admin')
95-
95+
9696
data = sd.get_my_customer_requests()
9797
print(data)
9898
99+
Using Insight (CMDB Tool for Jira):
100+
101+
.. code-block:: python
102+
103+
from atlassian import Insight
104+
105+
insight = Insight(
106+
url='http://localhost:7990',
107+
username='admin',
108+
password='admin')
109+
110+
data = insight.get_object(88)
111+
print(data)
112+
113+
99114
Using Xray (Test Management tool for Jira):
100115

101116
.. code-block:: python
@@ -106,7 +121,7 @@ Using Xray (Test Management tool for Jira):
106121
url='http://localhost:7990',
107122
username='admin',
108123
password='admin')
109-
124+
110125
data = xr.get_tests('TEST-001')
111126
print(data)
112127

0 commit comments

Comments
 (0)