Quantcast
Channel: YouTrackYouTrack (JT) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 74845

JT-19210: Import from CSV another trouble

$
0
0
Reporter Andrey Pavlov  (apdm@rambler.ru) Andrey Pavlov (apdm@rambler.ru)
Created Mar 27, 2013 7:06:41 PM
Updated Mar 28, 2013 2:01:20 AM
Resolved Mar 27, 2013 7:51:20 PM
Priority Normal
Type Bug
State Invalid
Assignee Alexander Buturlinov (alexander.buturlinov)
Subsystem Import
Fix versions No Fix versions
Fixed in builds No Fixed in build
Affected versions No Affected versions
Browser Any Browser
OS Any OS
Verified in build Not verified
Verified by Nobody
Reviewed by No reviewed by
Severity Routine
What steps will reproduce the problem?
1. Setup lastest library
2. Change mapping file and CSV file according your recomendations (see JT-19187)
3. Run csv2yotrack.py with Pyton Shell

What is the expected result?
Ok. The one successfully imported issue.

What happens instead?
Program is running :)))) ... and stoped at another place :((.

Traceback (most recent call last):
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\csv2youtrack.py", line 143, in <module>
main()
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\csv2youtrack.py", line 23, in main
csv2youtrack('issues.csv', 'http://localhost', 'root', 'rootjb')
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\csv2youtrack.py", line 38, in csv2youtrack
importer.import_csv()
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\csv2youtrack.py", line 49, in import_csv
self.do_import(projects, new_projects_owner_login)
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\youtrackImporter.py", line 29, in do_import
self._import_issues(project_id)
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\youtrackImporter.py", line 77, in _import_issues
[self._to_yt_issue(issue, project_id) for issue in issues])
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\youtrackImporter.py", line 169, in _to_yt_issue
result.numberInProject = self._get_issue_id(issue)
File "D:\YT\Lib\20130327\youtrack-rest-python-library-master\python\csv2youtrack.py", line 76, in _get_issue_id
match_result = number_regex.search(issue[self._import_config.get_key_for_field_name(u'numberInProject')])
KeyError: 'Issue Id'


Please provide any additional information below.
I've this result on another same instance where project have no any issues, Project Id is PD (not PDD).

Alexandr Buturlinov!If possible attach please your screenhot or another information about success import from CSV to YouTRACK. Thanks.

Attach a screenshot if possible

Viewing all articles
Browse latest Browse all 74845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>