Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dirtyhenry/youtrackswift
A Swift library to interact with YouTrack API
https://github.com/dirtyhenry/youtrackswift
swift swift-package youtrack youtrack-api
Last synced: 14 days ago
JSON representation
A Swift library to interact with YouTrack API
- Host: GitHub
- URL: https://github.com/dirtyhenry/youtrackswift
- Owner: dirtyhenry
- Created: 2019-11-06T12:53:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T14:28:47.000Z (over 4 years ago)
- Last Synced: 2024-11-09T15:42:39.203Z (2 months ago)
- Topics: swift, swift-package, youtrack, youtrack-api
- Language: Swift
- Size: 18.6 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YouTrackSwift
[![Swift 5.3](https://img.shields.io/badge/swift-5.3-ED523F.svg?style=flat)](https://swift.org/download/)
A Swift package for querying [YouTrack](https://www.jetbrains.com/youtrack/).
## Requirements
* Swift 5.3
* Homebrew## Usage
```
make install
```Then create a file at `Tests/YouTrackSwiftTests/TestConfig.swift` that should look like this:
```
import Foundationstruct TestConfig {
// API configuration
static let baseURL = "https://youtrack.FOO.TLD/api"
static let authorizationHeader = "Bearer perm:AN-API-TOKEN"// Agile configuration
static let minimumNumberOfAgiles = 20
static let defaultAgileName = "NAME OF AN AGILE"// Sprint configuration
static let minimumNumberOfSprintsForDefaultAgile = 49
static let defaultAgileID = "ID OF AN AGILE"
static let defaultSprintID = "ID OF A SPRINT"
static let numberOfIssuesOfDefaultSprint = 103
static let defaultIssueIDOfDefaultSprint = "AN ISSUE ID"
static let defaultIssueIDOfDefaultSprintAssignee = "AN ISSUE ASSIGNEE'S NAME"// Issue configuration
static let defaultIssueID = "ID OF AN ISSUE"
static let defaultIssueReadableID = "READABLE ID OF AN ISSUE"
static let defaultIssueSummary = "SUMMARY OF AN ISSUE"
static let defaultIssueAssignee = "AN ISSUE ASSIGNEE'S NAME"
static let defaultIssueStoryPoints = 0
// Saved Query configuration
static let minimumNumberOfSavedQueries = 30
static let defaultSavedQueryID = "AN ID OF A SAVED QUERY"
static let defaultSavedQueryName = "A NAME OF A SAVED QUERY"
}
```