Skip to content

aYouTrack is a library for YouTrack REST API written in Python 3.6 with asyncio and aiohttp

Notifications You must be signed in to change notification settings

Olegt0rr/aYouTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aYouTrack

Supported python versions MIT License

aYouTrack is a library for YouTrack REST API written in Python 3.6 with asyncio and aiohttp. It helps to integrate YouTrack with your product.

How to use

  1. Import YouTrack
from youtrack import YouTrackAPI
  1. Create yt instance
yt = YouTrackAPI(url=YT_SITE_URL, login=YT_LOGIN, password=YT_PASSWORD)
  1. Create issue and get new issue id or issue link or issue object
issue = await yt.create_issue(project='MyProject', summary='My Issue', output='issue')
  1. Update issue
await issue.update(summary="My Issue 2", description='Added description')
  1. Delete issue
await issue.delete()
  1. Get another issue by id
another_issue = await yt.get_issue('YT-123')
  1. Execute issue commands (for example set custom field)
value = 'some value'
await another_issue.execute(f'field {value}')

To do

  • Token authorization
  • Set default project
  • Project related methods
  • User related methods

About

aYouTrack is a library for YouTrack REST API written in Python 3.6 with asyncio and aiohttp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages