Skip to content

Add mobile number column to system imports for volunteers #1789

@Zrrrpy

Description

@Zrrrpy

Part of epic #1017, dependent on #1785

AS an admin,
I WANT to be able to import mobile numbers associated with volunteer accounts,
SO THAT I can bulk upload volunteer mobile numbers instead of needing to manually add/edit them one-by-one.

Dev note: add a db migration to make a mobile_number column on the users table. Add validations fro number format.

Show the user's mobile number when the user views their own profile or when a supervisor or admin views the user profile. Do not make it editable for now.

We are not yet using these for anything, we just want to make it possible to use them
Future note: we will need to verify these before using them, so we don't send text messages to people who don't want them

How it works now

After #1785 is complete, mobile numbers will be able to get added to accounts manually, but not in bulk.

How it should work

Admins should be able to include mobile numbers in volunteer imports.

Acceptance criteria

  • a new column for mobile number is added to the sample .csv for volunteer system imports
  • when mobile numbers get added to existing volunteer accounts via system import, the existing volunteer account is updated accordingly
  • if a volunteer account in the system import already has a mobile number associated with it, the existing mobile number is overridden by the new number in the system import.

Metadata

Metadata

Assignees

Labels

codethechangecode.the.change developerszzz_archived: 📱 SMSwork relating to SMS notifications #1017📥 ImportsBulk imports of users and CASA cases

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions