[rt-users] Assigning HeldBy users during Asset Import

Kevin Falcone falcone at bestpractical.com
Wed Sep 17 11:44:31 EDT 2014


On Fri, Sep 12, 2014 at 10:15:19AM -0700, mkyser wrote:
> 'Role name HeldBy must be single-value for column Username, skipping'

For no particular reason, the code requires that you assign to a
single-value Role and disallows roles that could contain multiple
people.

In the case of Assets, this means you could set Owner, but not Held
By.  This seems like an oversight.  You can probably safely delete
that check from CSV.pm and try importing, but it'll only allow a
single Held By user to be added.  We'd need to define a convention for
having multiple people in that single column, possibly doing it by
email address which is easily parseable with tools, but right now that
column only goes by username (or user id).

Try tweaking the code and definitely file a bug about this because it
feels like an accidental oversight.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 221 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140917/d7a28936/attachment.sig>


More information about the rt-users mailing list