在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):JetBrains/youtrack-rest-python-library开源软件地址(OpenSource Url):https://github.com/JetBrains/youtrack-rest-python-library开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Deprecation NoticeThis package is deprecated and will not work with YouTrack 2021.3 and later. Please consider using OpenAPI support in YouTrack to generate client code. This is not a drop-in replacement, but it should be enough to get you started. The package will also receive little support and maintenance, if any. Features modified
YouTrack REST API Client Library for PythonThis is a Python client library that you can use to access the REST API for JetBrains YouTrack. Previously, this repository also included command-line tools for importing issues from other issue trackers. We have created a separate repository to store scripts that use this library. The primary purpose of this library is to support migration to YouTrack, but you are welcome to build integrations with it as well. If you choose to work with this library, please be mindful of the following limitations:
We will continue to support this library with updates that are required to support issue import. Other issues that are not import related may be closed. Our intention is to eventually publish a fully-documented library that uses the latest version of the YouTrack REST API and is also compatible with Python 3. CompatibilityThis client library and the import scripts that use the library are compatible with Python 2.7+. Python 3 releases are not supported. This library supports YouTrack Standalone versions 5.x and higher as well as the current version of YouTrack InCloud. The REST API is enabled by default in all YouTrack installations. Getting StartedThis package has been published to PyPI and can be installed with pip.
AuthenticationTo communicate with YouTrack, you need a connection.
from youtrack.connection import Connection as YouTrack
# authentication request with permanent token
yt = YouTrack('https://instance_name.myjetbrains.com/youtrack/', token='perm:abcdefghijklmn')
# versus authentication with username and password
yt = YouTrack('https://instance_name.myjetbrains.com/youtrack/', login='username', password='password') This request requires that you specify the base URL of the target YouTrack server. For YouTrack InCloud instances, your base URL includes the trailing Once you have established a connection, your credentials are cached for subsequent requests. Supported OperationsMost of the operations that are supported by the YouTrack REST API are mapped to methods for the To learn more about the YouTrack REST API, refer to the YouTrack documentation. YouTrack SupportYour feedback is always appreciated.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论