-
-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement get remote links method
- Loading branch information
1 parent
e37cc6c
commit 1946cac
Showing
3 changed files
with
148 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[ | ||
{ | ||
"id": 10000, | ||
"self": "http://www.example.com/jira/rest/api/issue/MKY-1/remotelink/10000", | ||
"globalId": "system=http://www.mycompany.com/support&id=1", | ||
"application": { | ||
"type": "com.acme.tracker", | ||
"name": "My Acme Tracker" | ||
}, | ||
"relationship": "causes", | ||
"object": { | ||
"url": "http://www.mycompany.com/support?id=1", | ||
"title": "TSTSUP-111", | ||
"summary": "Crazy customer support issue", | ||
"icon": { | ||
"url16x16": "http://www.mycompany.com/support/ticket.png", | ||
"title": "Support Ticket" | ||
}, | ||
"status": { | ||
"resolved": true, | ||
"icon": { | ||
"url16x16": "http://www.mycompany.com/support/resolved.png", | ||
"title": "Case Closed", | ||
"link": "http://www.mycompany.com/support?id=1&details=closed" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 10001, | ||
"self": "http://www.example.com/jira/rest/api/issue/MKY-1/remotelink/10001", | ||
"globalId": "system=http://www.anothercompany.com/tester&id=1234", | ||
"application": { | ||
"type": "com.acme.tester", | ||
"name": "My Acme Tester" | ||
}, | ||
"relationship": "is tested by", | ||
"object": { | ||
"url": "http://www.anothercompany.com/tester/testcase/1234", | ||
"title": "Test Case #1234", | ||
"summary": "Test that the submit button saves the thing", | ||
"icon": { | ||
"url16x16": "http://www.anothercompany.com/tester/images/testcase.gif", | ||
"title": "Test Case" | ||
}, | ||
"status": { | ||
"resolved": false, | ||
"icon": { | ||
"url16x16": "http://www.anothercompany.com/tester/images/person/fred.gif", | ||
"title": "Tested by Fred Jones", | ||
"link": "http://www.anothercompany.com/tester/person?username=fred" | ||
} | ||
} | ||
} | ||
} | ||
] |