You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just realized rtk breaks my json output in a way it is not possible to use it anymore. is it expected behavior?
How can I use it with Jira via curl, for example?
⏺ Bash(curl -s -u "user@company.com:$JIRA_API_TOKEN" "https://jira.example.com/rest/api/2/issue/PROJ-12345?fields=summary,status" 2>&1)
⎿ {
expand: string[82],
fields:
{
status:
{
description: string[73],
iconUrl: string[68],
id: string,
name: string,
self: string[51],
statusCategory:
{
colorName: string,
id: int,
key: string,
name: string,
self: string[59]
}
}
summary: string[105]
}
id: string,
key: string,
self: string[56]
}
⏺ Bash(command curl -s -u "user@company.com:$JIRA_API_TOKEN" "https://jira.example.com/rest/api/2/issue/PROJ-12345?fields=summary,status" 2>&1)
⎿ {
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "1373311",
"self": "https://jira.example.com/rest/api/2/issue/1373311",
"key": "PROJ-12345",
"fields": {
"summary": "Example issue summary describing a bug or feature request",
"status": {
"self": "https://jira.example.com/rest/api/2/status/3",
"description": "This work item is being actively worked on at the moment by the assignee.",
"iconUrl": "https://jira.example.com/images/icons/statuses/inprogress.png",
"name": "In Progress",
"id": "3",
"statusCategory": {
"self": "https://jira.example.com/rest/api/2/statuscategory/4",
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
}
}
}
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've just realized rtk breaks my json output in a way it is not possible to use it anymore. is it expected behavior?
How can I use it with Jira via curl, for example?
Beta Was this translation helpful? Give feedback.
All reactions