e.g. which become arrays? I know multiuserpicker comes through as an array, and Text doesn't. What about grouppicker? Each one I must learn by waiting for data to come through the REST GET. Is there a better way?
Not if you want to interpret it in your program.
If you look at the UI though, you'll be able to work it out, and it's very rare that Atlassian change the "type" of field (I think the last one was the conversion to allow many components to be selected instead of one, and that was in JIRA 2 or 3.0)
Broadly though, you'll find date/time fields come out as date/time, free format text will be a single block of text, data that contains one item will be a single output, and multi-item ones will be arrays of single outputs. If it's a "select" type field (and that includes radio buttons and single users), it's a single, and if it's multi-select (multi-check box, multi-user picker, multi-group picker, components, versions, etc, there's a bit of a clue in the name of most), you'll get an array
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs