wget XML request

Hi Team,

Please I try to export an Issue filter result into a XML file with the wget command.

I have in my issue filter a custom field (multi user picker) and when I run my wget command it returns the username instead of the fullname user.

For instance : <customfieldvalue><![CDATA[username]]></customfieldvalue>

However in the issue navigator the result is ok I can see the fullname.

So is there something particular to setup to get the fullname when using the wget command ?

Many thanks for any feedback,


1 answer

0 votes

Can you post an example of the URL/command you're issuing to JIRA and and example of the response you're getting, you can mask out private information.

This would help to get a better understanding of what you're trying to accomplish.

I'm keen to say that JIRA does some more processing on the UI that transforms the results on the full username and that is why you can see it working on the Issue Navigator, and not on the XML response. I wouldn't expect that there is a flag that can change this behavior.


Hi thanks for your feedfback,

My request is something like: https://jira.***.com/sr/jira.issueviews:searchrequest-xml/11710/SearchRequest-11710.xml?tempMax=1000&os_username=toto&os_password=titi'

And result:

<customfield id="customfield_xxxxx" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker"><customfieldname>Tata</customfieldname><customfieldvalues><customfieldvalue>user1jirausername</customfieldvalue><customfieldvalue>user3jirausername</customfieldvalue><customfieldvalue>user2jirausername</customfieldvalue></customfieldvalues></customfield>

So where there is userXjirausername I need the Jira Fullname...

As I said before I'm not sure if there is any way of toggling the XML response to behave the way you need, I'm tempted to say there isn't.

You would maybe have more luck using the REST API (/search): http://docs.atlassian.com/jira/REST/latest/#id161575

And if that also doesn't work, I guess you will need to fetch the Full names using the REST API and do the transformation on your side, using a Map like structure should make this a breeze to implement once you have all the users populated there.

I hope this shed some light on your implementation ideas ;)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,441 views 15 19
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you