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  🙄 http://Jochen.Hayek.name/wp/blog-en/2015/12/02/jira-rest-api/ – using Jira’s REST API: a “…/rest/api/2/issue/…” URL http://Jochen.Hayek.name/wp/blog-en/2015/12/22/jq-json-processor/ – how to use jq for json-tidying jq . X.json > X.pretty.json http://Jochen.Hayek.name/wp/blog-en/2018/01/17/json-extract-structure/ – extract the structure tree of your… Continue reading extracting fields from a Jira “issue” (like a very nice and useful description)? how to get the markup source of the issue description?

another nice JSON file: how to extract its structure using jq

https://github.com/stedolan/jq/issues/243#issuecomment-45460474 $ jq -c ‘path(..)|[.[]|tostring]|join(“/”)|”.”+.’ The idea is to use one of the output lines in order to access the respective field on your next jq command line: $ jq “.fields.description” X.json

Published
Categorised as JSON Tagged

O’Reilly Media book: JSON at Work – Practical Data Integration for the Web

http://shop.oreilly.com/product/0636920028482.do https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/#toc https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ch05.html#json_schema https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ch06.html#json_search : …, jq, jqPlay, jq-tutorial, … https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ch07.html#json_transform https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ch09.html#json_and_mongodb https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ch10.html#json_messaging_with_kafka More than just a simple replacement for XML when you make an AJAX call, JSON is becoming the backbone of any serious data interchange over the Internet. This practical book shows web architects and developers how to harness the energy and… Continue reading O’Reilly Media book: JSON at Work – Practical Data Integration for the Web

Stephen Dolan’s “jq” is a lightweight and flexible command-line JSON processor

https://stedolan.github.io/jq/ https://stedolan.github.io/jq/tutorial/ https://stedolan.github.io/jq/manual/ https://github.com/stedolan/jq https://github.com/stedolan/jq/wiki https://github.com/stedolan/jq/wiki/Cookbook https://stackoverflow.com/questions/tagged/jq http://shop.oreilly.com/product/0636920032823.do – o’Reilly “Data Science at the Command Line” – has some examples making use of jq https://library.oreilly.com/book/0636920032823/data-science-at-the-command-line/84.xhtml?ref=toc#_jq – behind a paywall available as source (portable C) and as executables for various Intel-based platforms, i.e. some Linux distributions, Mac OS X, Windows incl. Cygwin https://cygwin.com/packages/x86_64/jq/ https://www.safaribooksonline.com/library/view/json-at-work/9781491982389/ch06.html#json_search : …, jq, jqPlay, jq-tutorial,… Continue reading Stephen Dolan’s “jq” is a lightweight and flexible command-line JSON processor

the JIRA REST API, how to authenticate, …

https://en.wikipedia.org/wiki/Jira_(software) https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-basic-authentication https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-cookie-based-authentication https://metacpan.org/module/json_pp – a nice utility, that also does JSON pretty-printing; it comes with http://search.cpan.org/perldoc?JSON There are certainly legion of reasons to use a REST API and also to use the JIRA REST API, I wanted to create a linear “diary” of JIRA actions. This is our sample JIRA issue URL: http://kelpie9:8081/browse/QA-31 This is its… Continue reading the JIRA REST API, how to authenticate, …