Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
# frozen_string_literal: true
# A multiselect definition: an array in the ticket's custom attributes.
#
# Entry point: apply
module Tickets
module Changes
class AddRemoveMultiselect < AddRemoveBase
private
def current(ticket)
Array(ticket.custom_attributes[key]).map(&:to_s)
end
def write(ticket, values, _before)
write_attribute(ticket, values)
end
end
end
end