Closed Mathurankan closed 7 years ago
Basically the "description" was same for all the records and I had to change the query to use "subject" instead of "description".
From:
# Issue.where("description Like '#{self.jira_marker}%'").first()
#end
To: def retrieve Issue.where('subject Like "#{self.jira_summary}%"').first() end
The issues imported into database is being overwritten as it has same ID. I am not very familiar with ruby or this script. It seems that all the record for issues have the same id. When the script ends there is only 1 record for "issues".