Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Improve configuration around post-project fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Feb 8, 2016
1 parent 6a90460 commit 79fcf1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sentry_jira/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class JIRAOptionsForm(forms.Form):
)
auto_create = forms.BooleanField(
label=_("Auto create JIRA tickets"),
help_text=_("Only enable if you want any new event to auto-create a JIRA ticket."),
help_text=_("Automatically create a JIRA ticket for EVERY new issue"),
required=False
)

Expand Down Expand Up @@ -86,7 +86,10 @@ def __init__(self, *args, **kwargs):

if not project_safe:
del self.fields["default_project"]
del self.fields["default_issue_type"]
del self.fields["default_priority"]
del self.fields["ignored_fields"]
del self.fields["auto_create"]

def clean_password(self):
"""
Expand Down

0 comments on commit 79fcf1e

Please sign in to comment.