CSV comments uploader
The CSV comments uploader is a snap-in designed to streamline the process of creating timeline entries on work items in bulk through a CSV file. It efficiently handles timeline entries while providing dynamic error handling and detailed tracking. With comprehensive status reporting, users receive a clear breakdown of successful and failed operations, including row numbers, error reasons, and the link of the created timeline entries.
CSV requirements
- The display_id field is mandatory and must contain a valid work item display ID.
- For tagging dev-users in the timeline entries, use the format <user@email.com>.
- Timeline entries can be added to both internal discussions and customer messages.
- The CSV should contain at least one of internal_discussion or external_discussion columns.
The maximum row limit for the input CSV is 5,000.
Validations for uploading CSV
The following validations are done while creating timeline entries on work items in DevRev:
1.Display ID is a mandatory field and must be filled according to the sample CSV file. 2. Do not re-run the command until a timeline is initiated for re-execution, and click the Submit button only once.
Upload comments from CSV on work-items
- Add the CSV Comments Uploader snap-in from the DevRev Marketplace to your environment.
- In the Discussion tab of the snap-in, enter /upload_timelines.
- A sample CSV file is generated, with display_id as a mandatory field.
- Click Upload, browse and select the file, and then click Submit.
- If all required headers exist in the CSV and the correct fields are provided as headers, a timeline comment is generated in the Discussion tab of the snap-in with the validation result of headers passed. Otherwise, it displays the invalid headers and any missing required headers.
- After the operation is completed, a sample CSV is generated in the Discussion tab of the snap-in with the status of the operation, including each line number, any error messages for failed rows, and the link of the successfully created timeline entry for successful rows.
- In case of a retry, a timeline entry is created, and the user needs to re-enter the command /upload_timelines.