2838: Required Field Configration

jihu****@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 25, 2012
What version are you running?
1.7


What's the URL of the page containing the problem?



What steps will reproduce the problem?


What is the expected output? What do you see instead?


What operating system are you using? What browser?


Please provide any additional information below.
How Can I config the required field? Not the "*" items.
david
#1 david
I'm not sure what you're asking. Can you be more specific?
  • +NeedInfo
#2 jihu****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sorry for my bad English.I mean that I hope I can config the required items other than use the system default required items.
For example,"Summary", "Reviewers" and "Summary" is the default required items, but I hope the "Bugs" item is the required item, too.
david
#3 david
There's no way to change this other than making changes to the code. The relevant code is in publishDraft() in reviewboard/static/rb/js/reviews.js

That said, what happens if someone wants to get a change reviewed that doesn't have an associated bug? In general, we recommend that additional fields (like bugs, branch, and testing done) be optional and free-form, and that you enforce usage of them through a social policy rather than a technical one.
  • -NeedInfo
    +NotABug