1
I need to block a commit until its condition in Redmine is acceptable. Knowing that the required status index is 2(In progress).
Example(I don’t use this just for understanding):
if ["status" == "1"]; then
$commit = true;
else
["status" != "1"];
$commit = false;
fi
How could I validate this index? so that it understood 2. You could use JSON?