Skip to content

gestrich/Jira-Swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JiraSwift

JiraSwift is a client library for interfacing with the Jira Cloud Rest API

This is still under construction but feedback is welcome

How to get

  • Swift Package Manager (Mac, Server)
  • iOS Framework

How to use

let jiraClient = JiraRestClient(baseURL:"https://<Your Jira URL>.atlassian.net/rest/", auth:BasicAuth(username: "SomeUsername", password: "SomePa$$word))
        
let jqlFilter = JQLFilter(jql: "assignee=george AND status=Open")
        
jiraClient.issues(for: jqlFilter, completionBlock: { (issues) in
  for issue : Issue in issues {
    print(issue.key)
    print(issue.urlString)
    print(issue.fields)
  }
            
}, errorBlock: { (error) in
  print(error)            
})