mail-address instead username from userfield in a query-result?
i have a query like this:
im issues --fields=id,<userfield> --qeryDefinition=(bla bla bla...)
If i run this query i get a list which contains item-id and the username from the field <userfield>. But i need the mail-address which is linked to this user. Is it possible to see this mail-address instead of the username? Thanks,
# where 1 is the number of the desired user in the array, which of course
# can be a variable derived by scanning the $users array for a desired name
# The  is there because the foreach output will be an array of one.
Message was edited by: David Hegland (for thie to work as written, we have to get only the user field in the first query. Of course, additional fields can be retrieved individually or in bulk by clever parsing.)
Re: mail-address instead username from userfield in a query-result?
thanks, this should be a functional workaround. But it works only with at least two queries, which has to be in an external program or script. I was hoping about something like a parameter für showing userfield-entries in a query