Commit Lock with Redmine

Asked

Viewed 29 times

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?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.