Last active
January 26, 2021 15:45
-
-
Save michaeldonnelly/adea2c8c90e54c1a6083233c63097827 to your computer and use it in GitHub Desktop.
Create a child of a FHIR tracker Jira and resolve it
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
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" | |
} | |
} | |
} |
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
POST /rest/api/2/issueLink | |
Authorization: Basic <REDACTED> | |
{ | |
"type": { | |
"name": "Relates" | |
}, | |
"inwardIssue": { | |
"key": "{{childIssueKey}}" | |
}, | |
"outwardIssue": { | |
"key": "FHIR-30578" | |
} | |
} |
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
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" | |
} | |
} |
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
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