-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
355 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/InwardLink.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// MMRecordAtlassian.InwardLink | ||
// MMRecordAtlassian | ||
// | ||
// Created by Conrad Stoll on 6/24/14. | ||
// Copyright (c) 2014 Mutual Mobile. All rights reserved. | ||
// | ||
|
||
import CoreData | ||
|
||
class InwardLink: Link { | ||
} |
15 changes: 15 additions & 0 deletions
15
Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/Issue.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// MMRecordAtlassian.Issue | ||
// MMRecordAtlassian | ||
// | ||
// Created by Conrad Stoll on 6/24/14. | ||
// Copyright (c) 2014 Mutual Mobile. All rights reserved. | ||
// | ||
|
||
import CoreData | ||
|
||
class Issue: ATLRecord { | ||
@NSManaged var key: NSString | ||
@NSManaged var id: NSString | ||
@NSManaged var issueLinks: NSSet | ||
} |
14 changes: 14 additions & 0 deletions
14
Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/Link.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// MMRecordAtlassian.Link | ||
// MMRecordAtlassian | ||
// | ||
// Created by Conrad Stoll on 6/24/14. | ||
// Copyright (c) 2014 Mutual Mobile. All rights reserved. | ||
// | ||
|
||
import CoreData | ||
|
||
class Link: ATLRecord { | ||
@NSManaged var name: NSString | ||
@NSManaged var id: NSString | ||
} |
21 changes: 21 additions & 0 deletions
21
Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/MMRecordAtlassian.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// MMRecordAtlassian.h | ||
// MMRecordAtlassian | ||
// | ||
// Created by Conrad Stoll on 6/24/14. | ||
// Copyright (c) 2014 Mutual Mobile. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
@class MMRecordAtlassian.Issue; | ||
|
||
@interface MMRecordAtlassian : NSManagedObject | ||
|
||
@property (nonatomic, retain) NSString * name; | ||
@property (nonatomic, retain) NSString * key; | ||
@property (nonatomic, retain) NSString * id; | ||
@property (nonatomic, retain) MMRecordAtlassian.Issue *issue; | ||
|
||
@end |
11 changes: 11 additions & 0 deletions
11
Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/OutwardLink.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// | ||
// MMRecordAtlassian.OutwardLink | ||
// MMRecordAtlassian | ||
// | ||
// Created by Conrad Stoll on 6/24/14. | ||
// Copyright (c) 2014 Mutual Mobile. All rights reserved. | ||
// | ||
import CoreData | ||
|
||
class OutwardLink: Link { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
200 changes: 200 additions & 0 deletions
200
Examples/MMRecordAtlassian/MMRecordAtlassian/Classes/Model/issue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
{ | ||
"expand": "renderedFields,names,schema,transitions,operations,editmeta,changelog", | ||
"id": "10002", | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/10002", | ||
"key": "EX-1", | ||
"fields": { | ||
"sub-tasks": [ | ||
{ | ||
"id": "10000", | ||
"type": { | ||
"id": "10000", | ||
"name": "", | ||
"inward": "Parent", | ||
"outward": "Sub-task" | ||
}, | ||
"outwardIssue": { | ||
"id": "10003", | ||
"key": "EX-2", | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/EX-2", | ||
"fields": { | ||
"status": { | ||
"iconUrl": "http:https://www.example.com/jira//images/icons/statuses/open.png", | ||
"name": "Open" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"timetracking": { | ||
"originalEstimate": "10m", | ||
"remainingEstimate": "3m", | ||
"timeSpent": "6m", | ||
"originalEstimateSeconds": 600, | ||
"remainingEstimateSeconds": 200, | ||
"timeSpentSeconds": 400 | ||
}, | ||
"project": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/project/EX", | ||
"id": "10000", | ||
"key": "EX", | ||
"name": "Example", | ||
"avatarUrls": { | ||
"24x24": "http:https://www.example.com/jira/secure/projectavatar?size=small&pid=10000", | ||
"16x16": "http:https://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000", | ||
"32x32": "http:https://www.example.com/jira/secure/projectavatar?size=medium&pid=10000", | ||
"48x48": "http:https://www.example.com/jira/secure/projectavatar?size=large&pid=10000" | ||
} | ||
}, | ||
"updated": 1, | ||
"description": "example bug report", | ||
"issuelinks": [ | ||
{ | ||
"id": "10001", | ||
"type": { | ||
"id": "10000", | ||
"name": "Dependent", | ||
"inward": "depends on", | ||
"outward": "is depended by" | ||
}, | ||
"outwardIssue": { | ||
"id": "10004L", | ||
"key": "PRJ-2", | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/PRJ-2", | ||
"fields": { | ||
"status": { | ||
"iconUrl": "http:https://www.example.com/jira//images/icons/statuses/open.png", | ||
"name": "Open" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "10002", | ||
"type": { | ||
"id": "10000", | ||
"name": "Dependent", | ||
"inward": "depends on", | ||
"outward": "is depended by" | ||
}, | ||
"inwardIssue": { | ||
"id": "10004", | ||
"key": "PRJ-3", | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/PRJ-3", | ||
"fields": { | ||
"status": { | ||
"iconUrl": "http:https://www.example.com/jira//images/icons/statuses/open.png", | ||
"name": "Open" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"attachment": [ | ||
{ | ||
"self": "http:https://www.example.com/jira/rest/api/2.0/attachments/10000", | ||
"filename": "picture.jpg", | ||
"author": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/user?username=fred", | ||
"name": "fred", | ||
"avatarUrls": { | ||
"24x24": "http:https://www.example.com/jira/secure/useravatar?size=small&ownerId=fred", | ||
"16x16": "http:https://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred", | ||
"32x32": "http:https://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred", | ||
"48x48": "http:https://www.example.com/jira/secure/useravatar?size=large&ownerId=fred" | ||
}, | ||
"displayName": "Fred F. User", | ||
"active": false | ||
}, | ||
"created": "2014-06-11T07:33:42.009+0000", | ||
"size": 23123, | ||
"mimeType": "image/jpeg", | ||
"content": "http:https://www.example.com/jira/attachments/10000", | ||
"thumbnail": "http:https://www.example.com/jira/secure/thumbnail/10000" | ||
} | ||
], | ||
"watcher": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/EX-1/watchers", | ||
"isWatching": false, | ||
"watchCount": 1, | ||
"watchers": [ | ||
{ | ||
"self": "http:https://www.example.com/jira/rest/api/2/user?username=fred", | ||
"name": "fred", | ||
"avatarUrls": { | ||
"24x24": "http:https://www.example.com/jira/secure/useravatar?size=small&ownerId=fred", | ||
"16x16": "http:https://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred", | ||
"32x32": "http:https://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred", | ||
"48x48": "http:https://www.example.com/jira/secure/useravatar?size=large&ownerId=fred" | ||
}, | ||
"displayName": "Fred F. User", | ||
"active": false | ||
} | ||
] | ||
}, | ||
"comment": [ | ||
{ | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/10010/comment/10000", | ||
"id": "10000", | ||
"author": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/user?username=fred", | ||
"name": "fred", | ||
"displayName": "Fred F. User", | ||
"active": false | ||
}, | ||
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.", | ||
"updateAuthor": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/user?username=fred", | ||
"name": "fred", | ||
"displayName": "Fred F. User", | ||
"active": false | ||
}, | ||
"created": "2014-06-11T07:33:42.192+0000", | ||
"updated": "2014-06-11T07:33:42.192+0000", | ||
"visibility": { | ||
"type": "role", | ||
"value": "Administrators" | ||
} | ||
} | ||
], | ||
"worklog": [ | ||
{ | ||
"self": "http:https://www.example.com/jira/rest/api/2/issue/10010/worklog/10000", | ||
"author": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/user?username=fred", | ||
"name": "fred", | ||
"displayName": "Fred F. User", | ||
"active": false | ||
}, | ||
"updateAuthor": { | ||
"self": "http:https://www.example.com/jira/rest/api/2/user?username=fred", | ||
"name": "fred", | ||
"displayName": "Fred F. User", | ||
"active": false | ||
}, | ||
"comment": "I did some work here.", | ||
"visibility": { | ||
"type": "group", | ||
"value": "jira-developers" | ||
}, | ||
"started": "2014-06-11T07:33:42.685+0000", | ||
"timeSpent": "3h 20m", | ||
"timeSpentSeconds": 12000, | ||
"id": "100028" | ||
} | ||
] | ||
}, | ||
"names": { | ||
"sub-tasks": "sub-tasks", | ||
"timetracking": "timetracking", | ||
"project": "project", | ||
"updated": "updated", | ||
"description": "description", | ||
"issuelinks": "issuelinks", | ||
"attachment": "attachment", | ||
"watcher": "watcher", | ||
"comment": "comment", | ||
"worklog": "worklog" | ||
}, | ||
"schema": {} | ||
} |
Oops, something went wrong.