Skip to content

Instantly share code, notes, and snippets.

@michaeldonnelly
Last active January 26, 2021 15:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaeldonnelly/adea2c8c90e54c1a6083233c63097827 to your computer and use it in GitHub Desktop.
Save michaeldonnelly/adea2c8c90e54c1a6083233c63097827 to your computer and use it in GitHub Desktop.
Create a child of a FHIR tracker Jira and resolve it
POST /rest/api/2/issue
Authorization: Basic <REDACTED>
{
"fields": {
"summary": "updates to .well-known/smart-configuration to support the enhancements above",
"description": "With feedback from implementers convened in last year's \"Granular Scopes\" Argonaut project, we've identified areas for enhancements and clarifications to the SMART App Launch specification.\r\nSee WIP at http://build.fhir.org/ig/HL7/smart-app-launch/",
"customfield_10704": {
"id": "11012"
},
"customfield_11808": [
"1.0"
],
"project": {
"id": "10405"
},
"issuetype": {
"id": "10600"
},
"priority": {
"id": "3"
},
"customfield_11400": [
"fhir-i"
],
"customfield_11301": [
"FHIR-smart-many"
],
"customfield_11302": [
"FHIR-smart"
],
"customfield_10512": {
"id": "10306"
}
}
}
POST /rest/api/2/issue/{{childIssueKey}}/transitions
Authorization: Basic <REDACTED>
{
"transition": {
"id": "131"
},
"fields": {
"resolution": {
"id": "10205"
},
"customfield_10512": {
"id": "10306"
},
"customfield_10511": {
"id": "10314"
},
"customfield_10618": "Merge the changes from this tracker item into SMART App Launch.",
"customfield_10525": "2021-01-25",
"customfield_10510": "Rick Geimer / Michael Donnelly: 34-0-1"
}
}
POST /rest/api/2/issue/{{childIssueKey}}/transitions
Authorization: Basic <REDACTED>
{
"fields": {
"resolution": {
"id": "10205"
}
},
"transition": {
"id": "66"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment