Import issue links doesn't work
I have read the documentation and looked at examples of python library. If you try toreproduce these actions, youtrack throws exceptions.
youtrack.YouTrackException: Error for [/import/links]: 400: Bad Request: unexpected element (uri:"", local:"links"). Expected elements are <{}issueLink>,<{}link>,<{}list>
xml body:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><links><link typeName="duplicates" source="inbox-426" target="dps_ps-372" /><link typeName="relates to" source="inbox-426" target="dps_ps-415" /></links>
It seems that youtrack do not like the format xml. Are you sure that the documentationand methods for importing actual at the moment?
Please sign in to leave a comment.
Hello, Alexey!
Am I right that you are using Python library? If so could you please provide some lines of your code, where you try to import links?
print xml:
I find problem... Need use other xml format:
Please, update documentation ;-) And correct comments in python library:
This confused me, so I used _reqXml
Thank you very much! I'm sorry for inconvenience.
the answer works just fine.
Please update the documentation.