Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MI-3615]: Test cases of Jira plugin PR #938 #5

Open
wants to merge 1 commit into
base: GH-938
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# (Required) Ensure all values are filled up
name: "Assigning an issue by first name"
status: Active
priority: Normal
folder: Jira subscriptions
authors: "@AayushChaudhary0001"
team_ownership: []
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)

# (Optional)
location: null
component: null
tags: []
labels: []
tested_by_contributor: null

# (Optional) Test type and tools
cypress: null
detox: null
mmctl: null
playwright: null
rainforest: []
manual_test_environments: []

# Do not change
id: null
key: null
created_on: null
last_updated: null
case_hashed: null
steps_hashed: null
---

**Step 1**

1. Run the /jira ssign <issue_key> <assignee_name>.
2. While entering the username, only provide the first name of the assignee.

**Expected**

The user should get the list of users with the same first name in return in the channel/DM.



Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
# (Required) Ensure all values are filled up
name: "Assigning an issue via MM username"
status: Active
priority: Normal
folder: Jira subscriptions
authors: "@AayushChaudhary0001"
team_ownership: []
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)

# (Optional)
location: null
component: null
tags: []
labels: []
tested_by_contributor: null

# (Optional) Test type and tools
cypress: null
detox: null
mmctl: null
playwright: null
rainforest: []
manual_test_environments: []

# Do not change
id: null
key: null
created_on: null
last_updated: null
case_hashed: null
steps_hashed: null
---

**Step 1**

1. Open the MM channel where the susbcription is created.
2. Run the '/jira assign <issue_key> <MM_username>'.

**Expected**

If the user mentioned is connected to Jira instance, then the issue will be assigned to him. If he is not connected to Jira instance, then the bot will prvide a text message that the user is not connected.