File tree 4 files changed +277
-18
lines changed 4 files changed +277
-18
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Getting Started
16
16
* Start up related product:
17
17
- Standalone product atlas-run-standalone _
18
18
- 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 `
20
20
* Send pull request
21
21
22
22
.. _Fork : https://help.github.com/articles/fork-a-repo/
@@ -110,6 +110,9 @@ All methods based on docs from: https://developer.atlassian.com/docs/
110
110
* Advanced Roadmaps (formerly Portfolio for Jira)
111
111
- `Portfolio for Jira `_
112
112
- `Portfolio for Jira Teams `_
113
+ * Insight
114
+ _`Insight Server`_
115
+ _`Insight Cloud`_
113
116
* Bitbucket:
114
117
- https://developer.atlassian.com/server/bitbucket/reference/rest-api/
115
118
- 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/
140
143
.. _`Jira Service Desk Server` : https://docs.atlassian.com/jira-servicedesk/REST/server
141
144
.. _`Portfolio for Jira Teams` : https://docs.atlassian.com/portfolio-for-jira-server/REST/2.13.0/teams/
142
145
.. _`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
144
148
145
149
Credits
146
150
-------
Original file line number Diff line number Diff line change @@ -15,15 +15,23 @@ RUN apt-get update
15
15
RUN apt-get install -y apt-utils
16
16
17
17
# Install python development
18
- RUN apt-get install -y python$PYTHON_VERSION-dev python3-pip
18
+ RUN apt-get install -y \
19
+ python$PYTHON_VERSION-dev \
20
+ python3-pip
19
21
20
22
# install distutils.util
21
- RUN if [ $PYTHON_VERSION != '3.10' ] ; then \
22
- apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
23
- else \
24
- apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
25
- curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
26
- fi
23
+ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
24
+ apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
25
+ elif [ $PYTHON_VERSION = '3.6' ] ; then \
26
+ apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
27
+ elif [ $PYTHON_VERSION != '3.10' ] ; then \
28
+ apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
29
+ else \
30
+ apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
31
+ curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
32
+ fi
33
+
34
+ # Register the version in alternatives
27
35
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1
28
36
29
37
# Install kerberos development
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ Also, you can use the Bitbucket module e.g. for getting project list
77
77
url = ' http://localhost:7990' ,
78
78
username = ' admin' ,
79
79
password = ' admin' )
80
-
80
+
81
81
data = bitbucket.project_list()
82
82
print (data)
83
83
@@ -92,10 +92,25 @@ Example to get your requests:
92
92
url = ' http://localhost:7990' ,
93
93
username = ' admin' ,
94
94
password = ' admin' )
95
-
95
+
96
96
data = sd.get_my_customer_requests()
97
97
print (data)
98
98
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
+
99
114
Using Xray (Test Management tool for Jira):
100
115
101
116
.. code-block :: python
@@ -106,7 +121,7 @@ Using Xray (Test Management tool for Jira):
106
121
url = ' http://localhost:7990' ,
107
122
username = ' admin' ,
108
123
password = ' admin' )
109
-
124
+
110
125
data = xr.get_tests(' TEST-001' )
111
126
print (data)
112
127
You can’t perform that action at this time.
0 commit comments