Skip to content

byte-imagination/ytapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytapi - YouTrack API

Simple library to simplify communication between your tools and YouTrack.

Table of Contents

Testing

In the src/test/resources directory create a file named youtrack_data.personal.properties based on the sample located in this directory.

Usage

First, you need to:

  • sign in
YouTrack youtrack = new CurrentApi(YOU_TRACK_HOST_URL);
youtrack.signIn(YOU_TRACK_LOGIN, YOU_TRACK_PASSWORD);

Then you can:

  • create new project
youtrack.putProject("projectIdentifier", "Project Name", 1, "root", "My first project created with ytapi.");
  • get list of existing projects
youtrack.getProjects();
  • get details of selected project
youtrack.getProject("projectIdentifier");
  • remove existing project
youtrack.deleteProject("projectIdentifier");
  • create builds bundle
youtrack.puBuildBundle("bundle name");
  • get builds bundle
youtrack.getBuildBundle("bundle name");
  • delete builds bundle
youtrack.deleteBuildBundle("bundle name");
  • create build
youtrack.putBuild("bundle name", "build name", "build description", 1, new Date().getTime());
  • get build
youtrack.getBuild("bundle name", "build name");
  • delete build
youtrack.deleteBuild("bundle name", "build name");
  • put issue
youtrack.putIssue("projectIdentifier", "issue summary", "The issue '''description'''.", "permitted group");
  • get issue
youtrack.getIssue("issueId", true);

Releases

No releases published

Packages

No packages published

Languages