Redmine#6179: document if and unless promise attributes