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,

Fabien.

1 answer

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.

Cheers,
Felipe

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot