Fix issue #1299 - Prompt upon issue open of custom field is misleading

This commit is contained in:
Robin Shen 2023-04-06 07:23:50 +08:00
parent 8ef92fc0c5
commit 3bf0a13a21
2 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,8 @@ public abstract class FieldSpec extends InputSpec {
return (boolean) EditContext.get().getInputValue("allowEmpty");
}
@Editable(order=10000, description="Whether or not to prompt this field upon issue open")
@Editable(order=10000, name="Include When Issue is Opened", description="Whether or not to include this field when issue is initially opened. " +
"If not, you may include this field later when issue is transited to other states via issue transition rule")
public boolean isPromptUponIssueOpen() {
return promptUponIssueOpen;
}

View File

@ -34,7 +34,7 @@ import io.onedev.server.annotation.IssueQuery;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Editable(order=100, name="Button is pressed")
@Editable(order=100, name="Manually", description = "Press button (or drag&drop in boards)")
public class PressButtonTrigger extends TransitionTrigger {
private static final long serialVersionUID = 1L;