Returns a full representation of the issue for the given issue key or ID. This example returns the JSON for the issue with key = "SCRUM-15".
curl --user jira@example.com:JIRA_API_TOKEN \
--header 'Accept: application/json' \
--url 'https://your-domain.atlassian.net/rest/api/2/issue/SCRUM-15'
IncludeFile "CkJsonObject.pb"
IncludeFile "CkStringBuilder.pb"
IncludeFile "CkRest.pb"
Procedure ChilkatExample()
rest.i = CkRest::ckCreate()
If rest.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
success.i
; URL: https://your-domain.atlassian.net/rest/api/2/issue/SCRUM-15
bTls.i = 1
port.i = 443
bAutoReconnect.i = 1
success = CkRest::ckConnect(rest,"your-domain.atlassian.net",port,bTls,bAutoReconnect)
If success <> 1
Debug "ConnectFailReason: " + Str(CkRest::ckConnectFailReason(rest))
Debug CkRest::ckLastErrorText(rest)
CkRest::ckDispose(rest)
ProcedureReturn
EndIf
CkRest::ckSetAuthBasic(rest,"jira@example.com","JIRA_API_TOKEN")
CkRest::ckAddHeader(rest,"Accept","application/json")
sbResponseBody.i = CkStringBuilder::ckCreate()
If sbResponseBody.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
success = CkRest::ckFullRequestNoBodySb(rest,"GET","/rest/api/2/issue/SCRUM-15",sbResponseBody)
If success <> 1
Debug CkRest::ckLastErrorText(rest)
CkRest::ckDispose(rest)
CkStringBuilder::ckDispose(sbResponseBody)
ProcedureReturn
EndIf
respStatusCode.i = CkRest::ckResponseStatusCode(rest)
If respStatusCode >= 400
Debug "Response Status Code = " + Str(respStatusCode)
Debug "Response Header:"
Debug CkRest::ckResponseHeader(rest)
Debug "Response Body:"
Debug CkStringBuilder::ckGetAsString(sbResponseBody)
CkRest::ckDispose(rest)
CkStringBuilder::ckDispose(sbResponseBody)
ProcedureReturn
EndIf
jsonResponse.i = CkJsonObject::ckCreate()
If jsonResponse.i = 0
Debug "Failed to create object."
ProcedureReturn
EndIf
CkJsonObject::ckLoadSb(jsonResponse,sbResponseBody)
expand.s
id.s
self.s
key.s
fieldsIssuetypeSelf.s
fieldsIssuetypeId.s
fieldsIssuetypeDescription.s
fieldsIssuetypeIconUrl.s
fieldsIssuetypeName.s
fieldsIssuetypeSubtask.i
fieldsTimespent.i
fieldsProjectSelf.s
fieldsProjectId.s
fieldsProjectKey.s
fieldsProjectName.s
fieldsProjectProjectTypeKey.s
fieldsProjectAvatarUrls48x48.s
fieldsProjectAvatarUrls24x24.s
fieldsProjectAvatarUrls16x16.s
fieldsProjectAvatarUrls32x32.s
fieldsProjectProjectCategorySelf.s
fieldsProjectProjectCategoryId.s
fieldsProjectProjectCategoryDescription.s
fieldsProjectProjectCategoryName.s
fieldsAggregatetimespent.i
fieldsResolutionSelf.s
fieldsResolutionId.s
fieldsResolutionDescription.s
fieldsResolutionName.s
fieldsCustomfield_10027.s
fieldsCustomfield_10028.s
fieldsCustomfield_10029.s
fieldsResolutiondate.s
fieldsWorkratio.i
fieldsWatchesSelf.s
fieldsWatchesWatchCount.i
fieldsWatchesIsWatching.i
fieldsLastViewed.s
fieldsCreated.s
fieldsCustomfield_10022.i
fieldsCustomfield_10023.s
fieldsPrioritySelf.s
fieldsPriorityIconUrl.s
fieldsPriorityName.s
fieldsPriorityId.s
fieldsCustomfield_10024.s
fieldsCustomfield_10025.s
fieldsCustomfield_10026.s
fieldsCustomfield_10017.i
fieldsCustomfield_10018.i
fieldsCustomfield_10019.i
fieldsAggregatetimeoriginalestimate.i
fieldsTimeestimate.i
fieldsAssigneeSelf.s
fieldsAssigneeName.s
fieldsAssigneeKey.s
fieldsAssigneeAccountId.s
fieldsAssigneeEmailAddress.s
fieldsAssigneeAvatarUrls48x48.s
fieldsAssigneeAvatarUrls24x24.s
fieldsAssigneeAvatarUrls16x16.s
fieldsAssigneeAvatarUrls32x32.s
fieldsAssigneeDisplayName.s
fieldsAssigneeActive.i
fieldsAssigneeTimeZone.s
fieldsUpdated.s
fieldsStatusSelf.s
fieldsStatusDescription.s
fieldsStatusIconUrl.s
fieldsStatusName.s
fieldsStatusId.s
fieldsStatusStatusCategorySelf.s
fieldsStatusStatusCategoryId.i
fieldsStatusStatusCategoryKey.s
fieldsStatusStatusCategoryColorName.s
fieldsStatusStatusCategoryName.s
fieldsTimeoriginalestimate.i
fieldsDescription.i
fieldsCustomfield_10011.s
fieldsCustomfield_10012.i
fieldsCustomfield_10013.s
fieldsCustomfield_10014.i
fieldsCustomfield_10015.i
fieldsSecurity.i
fieldsCustomfield_10008.i
fieldsAggregatetimeestimate.i
fieldsCustomfield_10009.i
fieldsSummary.s
fieldsCreatorSelf.s
fieldsCreatorName.s
fieldsCreatorKey.s
fieldsCreatorAccountId.s
fieldsCreatorEmailAddress.s
fieldsCreatorAvatarUrls48x48.s
fieldsCreatorAvatarUrls24x24.s
fieldsCreatorAvatarUrls16x16.s
fieldsCreatorAvatarUrls32x32.s
fieldsCreatorDisplayName.s
fieldsCreatorActive.i
fieldsCreatorTimeZone.s
fieldsReporterSelf.s
fieldsReporterName.s
fieldsReporterKey.s
fieldsReporterAccountId.s
fieldsReporterEmailAddress.s
fieldsReporterAvatarUrls48x48.s
fieldsReporterAvatarUrls24x24.s
fieldsReporterAvatarUrls16x16.s
fieldsReporterAvatarUrls32x32.s
fieldsReporterDisplayName.s
fieldsReporterActive.i
fieldsReporterTimeZone.s
fieldsCustomfield_10000.s
fieldsAggregateprogressProgress.i
fieldsAggregateprogressTotal.i
fieldsCustomfield_10001.i
fieldsCustomfield_10002.i
fieldsCustomfield_10003.s
fieldsCustomfield_10004.i
fieldsEnvironment.i
fieldsDuedate.i
fieldsProgressProgress.i
fieldsProgressTotal.i
fieldsVotesSelf.s
fieldsVotesVotes.i
fieldsVotesHasVoted.i
fieldsCommentMaxResults.i
fieldsCommentTotal.i
fieldsCommentStartAt.i
fieldsWorklogStartAt.i
fieldsWorklogMaxResults.i
fieldsWorklogTotal.i
i.i
count_i.i
strVal.s
authorSelf.s
authorName.s
authorKey.s
authorAccountId.s
authorEmailAddress.s
authorAvatarUrls48x48.s
authorAvatarUrls24x24.s
authorAvatarUrls16x16.s
authorAvatarUrls32x32.s
authorDisplayName.s
authorActive.i
authorTimeZone.s
body.s
updateAuthorSelf.s
updateAuthorName.s
updateAuthorKey.s
updateAuthorAccountId.s
updateAuthorEmailAddress.s
updateAuthorAvatarUrls48x48.s
updateAuthorAvatarUrls24x24.s
updateAuthorAvatarUrls16x16.s
updateAuthorAvatarUrls32x32.s
updateAuthorDisplayName.s
updateAuthorActive.i
updateAuthorTimeZone.s
created.s
updated.s
expand = CkJsonObject::ckStringOf(jsonResponse,"expand")
id = CkJsonObject::ckStringOf(jsonResponse,"id")
self = CkJsonObject::ckStringOf(jsonResponse,"self")
key = CkJsonObject::ckStringOf(jsonResponse,"key")
fieldsIssuetypeSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.issuetype.self")
fieldsIssuetypeId = CkJsonObject::ckStringOf(jsonResponse,"fields.issuetype.id")
fieldsIssuetypeDescription = CkJsonObject::ckStringOf(jsonResponse,"fields.issuetype.description")
fieldsIssuetypeIconUrl = CkJsonObject::ckStringOf(jsonResponse,"fields.issuetype.iconUrl")
fieldsIssuetypeName = CkJsonObject::ckStringOf(jsonResponse,"fields.issuetype.name")
fieldsIssuetypeSubtask = CkJsonObject::ckBoolOf(jsonResponse,"fields.issuetype.subtask")
fieldsTimespent = CkJsonObject::ckIsNullOf(jsonResponse,"fields.timespent")
fieldsProjectSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.project.self")
fieldsProjectId = CkJsonObject::ckStringOf(jsonResponse,"fields.project.id")
fieldsProjectKey = CkJsonObject::ckStringOf(jsonResponse,"fields.project.key")
fieldsProjectName = CkJsonObject::ckStringOf(jsonResponse,"fields.project.name")
fieldsProjectProjectTypeKey = CkJsonObject::ckStringOf(jsonResponse,"fields.project.projectTypeKey")
fieldsProjectAvatarUrls48x48 = CkJsonObject::ckStringOf(jsonResponse,"fields.project.avatarUrls.48x48")
fieldsProjectAvatarUrls24x24 = CkJsonObject::ckStringOf(jsonResponse,"fields.project.avatarUrls.24x24")
fieldsProjectAvatarUrls16x16 = CkJsonObject::ckStringOf(jsonResponse,"fields.project.avatarUrls.16x16")
fieldsProjectAvatarUrls32x32 = CkJsonObject::ckStringOf(jsonResponse,"fields.project.avatarUrls.32x32")
fieldsProjectProjectCategorySelf = CkJsonObject::ckStringOf(jsonResponse,"fields.project.projectCategory.self")
fieldsProjectProjectCategoryId = CkJsonObject::ckStringOf(jsonResponse,"fields.project.projectCategory.id")
fieldsProjectProjectCategoryDescription = CkJsonObject::ckStringOf(jsonResponse,"fields.project.projectCategory.description")
fieldsProjectProjectCategoryName = CkJsonObject::ckStringOf(jsonResponse,"fields.project.projectCategory.name")
fieldsAggregatetimespent = CkJsonObject::ckIsNullOf(jsonResponse,"fields.aggregatetimespent")
fieldsResolutionSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.resolution.self")
fieldsResolutionId = CkJsonObject::ckStringOf(jsonResponse,"fields.resolution.id")
fieldsResolutionDescription = CkJsonObject::ckStringOf(jsonResponse,"fields.resolution.description")
fieldsResolutionName = CkJsonObject::ckStringOf(jsonResponse,"fields.resolution.name")
fieldsCustomfield_10027 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10027")
fieldsCustomfield_10028 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10028")
fieldsCustomfield_10029 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10029")
fieldsResolutiondate = CkJsonObject::ckStringOf(jsonResponse,"fields.resolutiondate")
fieldsWorkratio = CkJsonObject::ckIntOf(jsonResponse,"fields.workratio")
fieldsWatchesSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.watches.self")
fieldsWatchesWatchCount = CkJsonObject::ckIntOf(jsonResponse,"fields.watches.watchCount")
fieldsWatchesIsWatching = CkJsonObject::ckBoolOf(jsonResponse,"fields.watches.isWatching")
fieldsLastViewed = CkJsonObject::ckStringOf(jsonResponse,"fields.lastViewed")
fieldsCreated = CkJsonObject::ckStringOf(jsonResponse,"fields.created")
fieldsCustomfield_10022 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10022")
fieldsCustomfield_10023 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10023")
fieldsPrioritySelf = CkJsonObject::ckStringOf(jsonResponse,"fields.priority.self")
fieldsPriorityIconUrl = CkJsonObject::ckStringOf(jsonResponse,"fields.priority.iconUrl")
fieldsPriorityName = CkJsonObject::ckStringOf(jsonResponse,"fields.priority.name")
fieldsPriorityId = CkJsonObject::ckStringOf(jsonResponse,"fields.priority.id")
fieldsCustomfield_10024 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10024")
fieldsCustomfield_10025 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10025")
fieldsCustomfield_10026 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10026")
fieldsCustomfield_10017 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10017")
fieldsCustomfield_10018 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10018")
fieldsCustomfield_10019 = CkJsonObject::ckIntOf(jsonResponse,"fields.customfield_10019")
fieldsAggregatetimeoriginalestimate = CkJsonObject::ckIsNullOf(jsonResponse,"fields.aggregatetimeoriginalestimate")
fieldsTimeestimate = CkJsonObject::ckIsNullOf(jsonResponse,"fields.timeestimate")
fieldsAssigneeSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.self")
fieldsAssigneeName = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.name")
fieldsAssigneeKey = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.key")
fieldsAssigneeAccountId = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.accountId")
fieldsAssigneeEmailAddress = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.emailAddress")
fieldsAssigneeAvatarUrls48x48 = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.avatarUrls.48x48")
fieldsAssigneeAvatarUrls24x24 = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.avatarUrls.24x24")
fieldsAssigneeAvatarUrls16x16 = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.avatarUrls.16x16")
fieldsAssigneeAvatarUrls32x32 = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.avatarUrls.32x32")
fieldsAssigneeDisplayName = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.displayName")
fieldsAssigneeActive = CkJsonObject::ckBoolOf(jsonResponse,"fields.assignee.active")
fieldsAssigneeTimeZone = CkJsonObject::ckStringOf(jsonResponse,"fields.assignee.timeZone")
fieldsUpdated = CkJsonObject::ckStringOf(jsonResponse,"fields.updated")
fieldsStatusSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.status.self")
fieldsStatusDescription = CkJsonObject::ckStringOf(jsonResponse,"fields.status.description")
fieldsStatusIconUrl = CkJsonObject::ckStringOf(jsonResponse,"fields.status.iconUrl")
fieldsStatusName = CkJsonObject::ckStringOf(jsonResponse,"fields.status.name")
fieldsStatusId = CkJsonObject::ckStringOf(jsonResponse,"fields.status.id")
fieldsStatusStatusCategorySelf = CkJsonObject::ckStringOf(jsonResponse,"fields.status.statusCategory.self")
fieldsStatusStatusCategoryId = CkJsonObject::ckIntOf(jsonResponse,"fields.status.statusCategory.id")
fieldsStatusStatusCategoryKey = CkJsonObject::ckStringOf(jsonResponse,"fields.status.statusCategory.key")
fieldsStatusStatusCategoryColorName = CkJsonObject::ckStringOf(jsonResponse,"fields.status.statusCategory.colorName")
fieldsStatusStatusCategoryName = CkJsonObject::ckStringOf(jsonResponse,"fields.status.statusCategory.name")
fieldsTimeoriginalestimate = CkJsonObject::ckIsNullOf(jsonResponse,"fields.timeoriginalestimate")
fieldsDescription = CkJsonObject::ckIsNullOf(jsonResponse,"fields.description")
fieldsCustomfield_10011 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10011")
fieldsCustomfield_10012 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10012")
fieldsCustomfield_10013 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10013")
fieldsCustomfield_10014 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10014")
fieldsCustomfield_10015 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10015")
fieldsSecurity = CkJsonObject::ckIsNullOf(jsonResponse,"fields.security")
fieldsCustomfield_10008 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10008")
fieldsAggregatetimeestimate = CkJsonObject::ckIsNullOf(jsonResponse,"fields.aggregatetimeestimate")
fieldsCustomfield_10009 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10009")
fieldsSummary = CkJsonObject::ckStringOf(jsonResponse,"fields.summary")
fieldsCreatorSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.self")
fieldsCreatorName = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.name")
fieldsCreatorKey = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.key")
fieldsCreatorAccountId = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.accountId")
fieldsCreatorEmailAddress = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.emailAddress")
fieldsCreatorAvatarUrls48x48 = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.avatarUrls.48x48")
fieldsCreatorAvatarUrls24x24 = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.avatarUrls.24x24")
fieldsCreatorAvatarUrls16x16 = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.avatarUrls.16x16")
fieldsCreatorAvatarUrls32x32 = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.avatarUrls.32x32")
fieldsCreatorDisplayName = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.displayName")
fieldsCreatorActive = CkJsonObject::ckBoolOf(jsonResponse,"fields.creator.active")
fieldsCreatorTimeZone = CkJsonObject::ckStringOf(jsonResponse,"fields.creator.timeZone")
fieldsReporterSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.self")
fieldsReporterName = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.name")
fieldsReporterKey = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.key")
fieldsReporterAccountId = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.accountId")
fieldsReporterEmailAddress = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.emailAddress")
fieldsReporterAvatarUrls48x48 = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.avatarUrls.48x48")
fieldsReporterAvatarUrls24x24 = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.avatarUrls.24x24")
fieldsReporterAvatarUrls16x16 = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.avatarUrls.16x16")
fieldsReporterAvatarUrls32x32 = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.avatarUrls.32x32")
fieldsReporterDisplayName = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.displayName")
fieldsReporterActive = CkJsonObject::ckBoolOf(jsonResponse,"fields.reporter.active")
fieldsReporterTimeZone = CkJsonObject::ckStringOf(jsonResponse,"fields.reporter.timeZone")
fieldsCustomfield_10000 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10000")
fieldsAggregateprogressProgress = CkJsonObject::ckIntOf(jsonResponse,"fields.aggregateprogress.progress")
fieldsAggregateprogressTotal = CkJsonObject::ckIntOf(jsonResponse,"fields.aggregateprogress.total")
fieldsCustomfield_10001 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10001")
fieldsCustomfield_10002 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10002")
fieldsCustomfield_10003 = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10003")
fieldsCustomfield_10004 = CkJsonObject::ckIsNullOf(jsonResponse,"fields.customfield_10004")
fieldsEnvironment = CkJsonObject::ckIsNullOf(jsonResponse,"fields.environment")
fieldsDuedate = CkJsonObject::ckIsNullOf(jsonResponse,"fields.duedate")
fieldsProgressProgress = CkJsonObject::ckIntOf(jsonResponse,"fields.progress.progress")
fieldsProgressTotal = CkJsonObject::ckIntOf(jsonResponse,"fields.progress.total")
fieldsVotesSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.votes.self")
fieldsVotesVotes = CkJsonObject::ckIntOf(jsonResponse,"fields.votes.votes")
fieldsVotesHasVoted = CkJsonObject::ckBoolOf(jsonResponse,"fields.votes.hasVoted")
fieldsCommentMaxResults = CkJsonObject::ckIntOf(jsonResponse,"fields.comment.maxResults")
fieldsCommentTotal = CkJsonObject::ckIntOf(jsonResponse,"fields.comment.total")
fieldsCommentStartAt = CkJsonObject::ckIntOf(jsonResponse,"fields.comment.startAt")
fieldsWorklogStartAt = CkJsonObject::ckIntOf(jsonResponse,"fields.worklog.startAt")
fieldsWorklogMaxResults = CkJsonObject::ckIntOf(jsonResponse,"fields.worklog.maxResults")
fieldsWorklogTotal = CkJsonObject::ckIntOf(jsonResponse,"fields.worklog.total")
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.fixVersions")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.labels")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.customfield_10016")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.versions")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.issuelinks")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.components")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.customfield_10010")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
strVal = CkJsonObject::ckStringOf(jsonResponse,"fields.customfield_10010[i]")
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.attachment")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.subtasks")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.comment.comments")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
self = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].self")
id = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].id")
authorSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.self")
authorName = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.name")
authorKey = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.key")
authorAccountId = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.accountId")
authorEmailAddress = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.emailAddress")
authorAvatarUrls48x48 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.avatarUrls.48x48")
authorAvatarUrls24x24 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.avatarUrls.24x24")
authorAvatarUrls16x16 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.avatarUrls.16x16")
authorAvatarUrls32x32 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.avatarUrls.32x32")
authorDisplayName = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.displayName")
authorActive = CkJsonObject::ckBoolOf(jsonResponse,"fields.comment.comments[i].author.active")
authorTimeZone = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].author.timeZone")
body = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].body")
updateAuthorSelf = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.self")
updateAuthorName = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.name")
updateAuthorKey = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.key")
updateAuthorAccountId = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.accountId")
updateAuthorEmailAddress = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.emailAddress")
updateAuthorAvatarUrls48x48 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.avatarUrls.48x48")
updateAuthorAvatarUrls24x24 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.avatarUrls.24x24")
updateAuthorAvatarUrls16x16 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.avatarUrls.16x16")
updateAuthorAvatarUrls32x32 = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.avatarUrls.32x32")
updateAuthorDisplayName = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.displayName")
updateAuthorActive = CkJsonObject::ckBoolOf(jsonResponse,"fields.comment.comments[i].updateAuthor.active")
updateAuthorTimeZone = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updateAuthor.timeZone")
created = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].created")
updated = CkJsonObject::ckStringOf(jsonResponse,"fields.comment.comments[i].updated")
i = i + 1
Wend
i = 0
count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"fields.worklog.worklogs")
While i < count_i
CkJsonObject::setCkI(jsonResponse, i)
i = i + 1
Wend
CkRest::ckDispose(rest)
CkStringBuilder::ckDispose(sbResponseBody)
CkJsonObject::ckDispose(jsonResponse)
ProcedureReturn
EndProcedure
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "10014",
"self": "https://chilkat.atlassian.net/rest/api/2/issue/10014",
"key": "SCRUM-15",
"fields": {
"issuetype": {
"self": "https://chilkat.atlassian.net/rest/api/2/issuetype/10001",
"id": "10001",
"description": "Stories track functionality or features expressed as user goals.",
"iconUrl": "https://chilkat.atlassian.net/images/icons/issuetypes/story.svg",
"name": "Story",
"subtask": false
},
"timespent": null,
"project": {
"self": "https://chilkat.atlassian.net/rest/api/2/project/10000",
"id": "10000",
"key": "SCRUM",
"name": "Scrumsoft",
"projectTypeKey": "software",
"avatarUrls": {
"48x48": "https://chilkat.atlassian.net/secure/projectavatar?pid=10000&avatarId=10400",
"24x24": "https://chilkat.atlassian.net/secure/projectavatar?size=small&pid=10000&avatarId=10400",
"16x16": "https://chilkat.atlassian.net/secure/projectavatar?size=xsmall&pid=10000&avatarId=10400",
"32x32": "https://chilkat.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10400"
},
"projectCategory": {
"self": "https://chilkat.atlassian.net/rest/api/2/projectCategory/10002",
"id": "10002",
"description": "Insane Projects",
"name": "Insane"
}
},
"fixVersions": [
],
"aggregatetimespent": null,
"resolution": {
"self": "https://chilkat.atlassian.net/rest/api/2/resolution/10000",
"id": "10000",
"description": "Work has been completed on this issue.",
"name": "Done"
},
"customfield_10027": "",
"customfield_10028": "",
"customfield_10029": "",
"resolutiondate": "2018-04-08T00:33:55.852-0500",
"workratio": -1,
"watches": {
"self": "https://chilkat.atlassian.net/rest/api/2/issue/SCRUM-15/watchers",
"watchCount": 0,
"isWatching": false
},
"lastViewed": "2018-04-12T20:07:08.181-0500",
"created": "2018-04-03T09:57:55.852-0500",
"customfield_10022": null,
"customfield_10023": "",
"priority": {
"self": "https://chilkat.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://chilkat.atlassian.net/images/icons/priorities/medium.svg",
"name": "Medium",
"id": "3"
},
"customfield_10024": "",
"customfield_10025": "",
"customfield_10026": "",
"labels": [
],
"customfield_10016": [
],
"customfield_10017": null,
"customfield_10018": null,
"customfield_10019": 4.0,
"aggregatetimeoriginalestimate": null,
"timeestimate": null,
"versions": [
],
"issuelinks": [
],
"assignee": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=matt",
"name": "matt",
"key": "matt",
"accountId": "5acf82d7926ac92a7c0d7bd3",
"emailAddress": "matt@@chilkat.io",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/ae220e85f283d0ecea372e06ad2261d3?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fae220e85f283d0ecea372e06ad2261d3%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/ae220e85f283d0ecea372e06ad2261d3?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fae220e85f283d0ecea372e06ad2261d3%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/ae220e85f283d0ecea372e06ad2261d3?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fae220e85f283d0ecea372e06ad2261d3%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/ae220e85f283d0ecea372e06ad2261d3?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fae220e85f283d0ecea372e06ad2261d3%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Matt of Chilkat",
"active": true,
"timeZone": "America/Chicago"
},
"updated": "2018-04-12T20:07:08.104-0500",
"status": {
"self": "https://chilkat.atlassian.net/rest/api/2/status/10001",
"description": "",
"iconUrl": "https://chilkat.atlassian.net/",
"name": "Done",
"id": "10001",
"statusCategory": {
"self": "https://chilkat.atlassian.net/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
},
"components": [
],
"timeoriginalestimate": null,
"description": null,
"customfield_10010": [
"com.atlassian.greenhopper.service.sprint.Sprint@@3aaca4f7[id=1,rapidViewId=1,state=ACTIVE,name=Sample Sprint 2,goal=<null>,startDate=2018-04-03T14:57:57.335Z,endDate=2018-04-17T15:17:57.335Z,completeDate=<null>,sequence=1]"
],
"customfield_10011": "0|i0000n:",
"customfield_10012": null,
"customfield_10013": "3_*:*_1_*:*_208320000_*|*_10000_*:*_1_*:*_189840000_*|*_10001_*:*_1_*:*_0",
"customfield_10014": null,
"customfield_10015": null,
"timetracking": {},
"security": null,
"customfield_10008": null,
"aggregatetimeestimate": null,
"customfield_10009": null,
"attachment": [
],
"summary": "As a scrum master, I can see the progress of a sprint via the Burndown Chart >> Click \"Reports\" to view the Burndown Chart",
"creator": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"accountId": "557058:be8b47b5-3bc0-43f6-b6b2-2cca0de12204",
"emailAddress": "admin@@chilkatsoft.com",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Chilkat Admin",
"active": true,
"timeZone": "America/Chicago"
},
"subtasks": [
],
"reporter": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"accountId": "557058:be8b47b5-3bc0-43f6-b6b2-2cca0de12204",
"emailAddress": "admin@@chilkatsoft.com",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Chilkat Admin",
"active": true,
"timeZone": "America/Chicago"
},
"customfield_10000": "{}",
"aggregateprogress": {
"progress": 0,
"total": 0
},
"customfield_10001": null,
"customfield_10002": null,
"customfield_10003": "",
"customfield_10004": null,
"environment": null,
"duedate": null,
"progress": {
"progress": 0,
"total": 0
},
"votes": {
"self": "https://chilkat.atlassian.net/rest/api/2/issue/SCRUM-15/votes",
"votes": 0,
"hasVoted": false
},
"comment": {
"comments": [
{
"self": "https://chilkat.atlassian.net/rest/api/2/issue/10014/comment/10006",
"id": "10006",
"author": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"accountId": "557058:be8b47b5-3bc0-43f6-b6b2-2cca0de12204",
"emailAddress": "admin@@chilkatsoft.com",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Chilkat Admin",
"active": true,
"timeZone": "America/Chicago"
},
"body": "Joined Sample Sprint 2 7 days 9 hours 10 minutes ago",
"updateAuthor": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"accountId": "557058:be8b47b5-3bc0-43f6-b6b2-2cca0de12204",
"emailAddress": "admin@@chilkatsoft.com",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Chilkat Admin",
"active": true,
"timeZone": "America/Chicago"
},
"created": "2018-04-08T00:33:55.852-0500",
"updated": "2018-04-08T00:33:55.852-0500"
},
{
"self": "https://chilkat.atlassian.net/rest/api/2/issue/10014/comment/10007",
"id": "10007",
"author": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"accountId": "557058:be8b47b5-3bc0-43f6-b6b2-2cca0de12204",
"emailAddress": "admin@@chilkatsoft.com",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Chilkat Admin",
"active": true,
"timeZone": "America/Chicago"
},
"body": "To Do to In Progress 5 days 4 hours 26 minutes ago\r\nIn Progress to Done 2 days 18 hours 34 minutes ago",
"updateAuthor": {
"self": "https://chilkat.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"accountId": "557058:be8b47b5-3bc0-43f6-b6b2-2cca0de12204",
"emailAddress": "admin@@chilkatsoft.com",
"avatarUrls": {
"48x48": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=48&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D48%26noRedirect%3Dtrue",
"24x24": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=24&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D24%26noRedirect%3Dtrue",
"16x16": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=16&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D16%26noRedirect%3Dtrue",
"32x32": "https://avatar-cdn.atlassian.com/16d54dcc6d4bef86fd7ee62a7cf6334a?s=32&d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2F16d54dcc6d4bef86fd7ee62a7cf6334a%3Fd%3Dmm%26s%3D32%26noRedirect%3Dtrue"
},
"displayName": "Chilkat Admin",
"active": true,
"timeZone": "America/Chicago"
},
"created": "2018-04-08T00:33:55.852-0500",
"updated": "2018-04-08T00:33:55.852-0500"
}
],
"maxResults": 2,
"total": 2,
"startAt": 0
},
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 0,
"worklogs": [
]
}
}
}