PUT /jobsets/{project-id}/{jobset-id} expects a JSON object inputs which
maps a name to a name, a type, a value, and a boolean that enables emailing
responsible parties. However, GET /jobsets/{project-id}/{jobset-id} responds
with an object that doesn't contain a value, but does contain a jobsetinputalts
(which is old and should be unused).
This commit aligns the two by removing the old and unused jobsetinputalts from
the response and replaces it with value.
7XFHKDDOHTKZHQCSS2KB3VJNU6WYYJHR434GATSXD4DG345LS4PAC IGR322YPZG7IX33I6CSF4ZIHFKXCT4ERC2LC73MW6PN7W53D73BAC HU5SDT7O6Q4B5M4NXNYGCRTE63PLH356FPRSGPMQDVQHIAW4XK3AC LX326CB7QYUPVTX37SSK6VFSYKJIII6ARISYJBHZBVKVJ2NQTI3AC SB2V735VJ2CDHGCXRUA5FOYHDRXQFVOZ3KXC3YKXWRNW6DIX7RXQC X27GNHDV5KPZ5GSH6DCAJMNCEMZLCP7M43JWF2X3O5QWXMOX273AC 4VYSDP4IAWIIVLXCKXJEYWIHZV3PUD3VACX3K4EIQKPFGWLZK6HQC my %hint = (string_columns => ["name","type"],boolean_columns => ["emailresponsible"],relations => {"jobsetinputalts" => "value"});
my %json = (# string_columns"name" => $self->get_column("name") // "","type" => $self->get_column("type") // "","value" => $input->value // "",# boolean_columns"emailresponsible" => $self->get_column("emailresponsible") ? JSON::true : JSON::false,);