Open paul-lemon opened 5 years ago
We wont need to include the string "jira" everywhere :) as the entire code base is all about jira.
Ticket
vs Issue
I notice myself, mixing up the same thing calling it sometimes Ticket and other time Issue.
Lets try (going forward) to stick to Atlassian terminology: Issue
So my name suggestion including above statements would be: IssueUpdateManager
agreed - I think some naming conventions in a Contributing.MD to avoid future naming mishaps too.
Sure, as soon i have more than 1 convention :)
packageRowForUpdate should be private also.
This is underway with the re-factoring work I am doing. The file has been renamed but I aslo plan in moving a lot of the code into the Issues and IssueFields models and the updateIssues controller. I expect the file will be removed from the code base once that is completed.
Name would be better as UpdateJiraTicketManager
Single Responsibility - Update a series of JIRA tickets using the same column / field defintions Use of a class will enable refactoring
`
function getMatchingJiraFields(allJiraFields, headerRow) {