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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

84 views 0 1
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