File tree Expand file tree Collapse file tree 4 files changed +277
-18
lines changed Expand file tree Collapse file tree 4 files changed +277
-18
lines changed Original file line number Diff line number Diff 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
145149Credits
146150-------
Original file line number Diff line number Diff line change @@ -15,15 +15,23 @@ RUN apt-get update
1515RUN apt-get install -y apt-utils
1616
1717# 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
1921
2022# 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
2735RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1
2836
2937# 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
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
You can’t perform that action at this time.
0 commit comments