Skip to content

Commit c8c1f6b

Browse files
refactor migration
1 parent f90d6da commit c8c1f6b

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

dojo/db_migrations/0001_squashed_0090_index_duplicate_finding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ class Migration(migrations.Migration):
265265
fields=[
266266
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
267267
('url', models.URLField(help_text='For more information how to configure Jira, read the DefectDojo documentation.', max_length=2000, verbose_name='JIRA URL')),
268-
('username', models.CharField(max_length=2000)),
269-
('password', models.CharField(max_length=2000)),
268+
('username', models.CharField(help_text='Username or Email Address, see DefectDojo documentation for more information.', max_length=2000, verbose_name='Username/Email')),
269+
('password', models.CharField(help_text='Password, API Token, or Personal Access Token, see DefectDojo documentation for more information.', max_length=2000, verbose_name='Password/Token')),
270270
('default_issue_type', models.CharField(choices=[('Task', 'Task'), ('Story', 'Story'), ('Epic', 'Epic'), ('Spike', 'Spike'), ('Bug', 'Bug')], default='Bug', max_length=9)),
271271
('epic_name_id', models.IntegerField(help_text="To obtain the 'Epic name id' visit https://<YOUR JIRA URL>/rest/api/2/field and search for Epic Name. Copy the number out of cf[number] and paste it here.")),
272272
('open_status_key', models.IntegerField(help_text='Transition ID to Re-Open JIRA issues, visit https://<YOUR JIRA URL>/rest/api/latest/issue/<ANY VALID ISSUE KEY>/transitions?expand=transitions.fields to find the ID for your JIRA instance', verbose_name='Reopen Transition ID')),

dojo/db_migrations/0226_alter_jira_instance_password.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)