Skip to content

Commit

Permalink
DEVPROD-11534 update text for AWS access ticket (#8504)
Browse files Browse the repository at this point in the history
  • Loading branch information
ablack12 authored Nov 25, 2024
1 parent d0a7b12 commit de1d7e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rest/data/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func RequestS3Creds(ctx context.Context, projectIdentifier, userEmail string) er
if settings.ProjectCreation.JiraProject == "" {
return nil
}
summary := fmt.Sprintf("Create AWS key for s3 uploads for '%s' project", projectIdentifier)
description := fmt.Sprintf("Could you create an s3 key for the new [%s|%s/project/%s/settings/general] project?", projectIdentifier, settings.Ui.UIv2Url, projectIdentifier)
summary := fmt.Sprintf("Create AWS bucket for s3 uploads for '%s' project", projectIdentifier)
description := fmt.Sprintf("Could you create an s3 bucket and role arn for the new [%s|%s/project/%s/settings/general] project?", projectIdentifier, settings.Ui.UIv2Url, projectIdentifier)
jiraIssue := message.JiraIssue{
Project: settings.ProjectCreation.JiraProject,
Summary: summary,
Expand Down
4 changes: 2 additions & 2 deletions rest/data/project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@ func TestRequestS3Creds(t *testing.T) {
target := n[0].Subscriber.Target.(*event.JIRAIssueSubscriber)
assert.Equal(t, "BUILD", target.Project)
payload := n[0].Payload.(*message.JiraIssue)
summary := "Create AWS key for s3 uploads for 'identifier' project"
description := "Could you create an s3 key for the new [identifier|/project/identifier/settings/general] project?"
summary := "Create AWS bucket for s3 uploads for 'identifier' project"
description := "Could you create an s3 bucket and role arn for the new [identifier|/project/identifier/settings/general] project?"
assert.Equal(t, "BUILD", payload.Project)
assert.Equal(t, summary, payload.Summary)
assert.Equal(t, description, payload.Description)
Expand Down

0 comments on commit de1d7e2

Please sign in to comment.