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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
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