wp.jochen.hayek.name/blog-en

extracting fields from a Jira “issue” (like a very nice and useful description)? how to get the markup source of the issue description?

No, Jira does not let you read (“per se“) the markup source of an “issue” – that’s why I went this way in the first place  🙄

jq . X.json > X.pretty.json
jq -c 'path(..)|[.[]|tostring]|join("/")|"."+.' X.pretty.json
jq ".fields.description" X.json > X.description.txt
jq ".fields.description" X.json | 
perl -pe 's/^"(.*)"$/$1/; s/\\"/"/g; s/\\r//g; s/\\n/\n/g' > X.description.txt
Exit mobile version