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

Allow for creating a Jira ticket from Quality-time #2931

Closed
17 tasks done
Sebastiaan127001 opened this issue Nov 26, 2021 · 0 comments · Fixed by #4068
Closed
17 tasks done

Allow for creating a Jira ticket from Quality-time #2931

Sebastiaan127001 opened this issue Nov 26, 2021 · 0 comments · Fixed by #4068
Assignees

Comments

@Sebastiaan127001
Copy link
Contributor

Sebastiaan127001 commented Nov 26, 2021

User story

As a quality manager I want to create an issue in the configured issue tracker and have it automatically linked from Quality-time so that I can create and link issues in one step.

Acceptance criteria

The story is considered complete if:

  • The user can create an issue for a metric in the configured issue tracker from Quality-time, and
  • The issue is linked from the metric, and
  • The metric is linked from the issue

Assumptions

  • An issue tracker is configured.
  • The configured issue tracker user has the necessary rights to create an issue in the issue tracker.
  • If the Quality-time user is a different user than is configured for the issue tracker, the Quality-time user can still edit the newly created issue in the issue tracker.

Out of scope

  • Quality-time doesn't decide on its own to create tickets.
  • Automatically accept the metric as technical debt (if red or yellow)
  • Automatically getting the available project keys and issue types from Jira.

Tasks

Components

Frontend

  • Add a field for a default project for new issues to the issue tracker configuration
  • Add a field for a default issue type for new issues to the issue tracker configuration
  • Add a button next to the issue tracker id field "Create new issue for this metric"
  • Button should be inactive if there's no issue tracker configured.
    • Button should be inactive if the user removes the issue tracker.
  • Clicking the button invokes the external server endpoint for creating issues.
  • The frontend uses the issue id returned by the external server to open a new browser tab for the user to change the issue with extra information.
  • If the configured issue tracker user has no rights to create issues in the issue tracker or something else goes wrong, show an appropriate error message using the toaster.

External server

  • Add endpoint to create an issue for a specific metric. The endpoint uses the issue tracker (e.g. Jira) API to create a new issue (with the metric name as title), inserts the issue id into the issue id field, and returns the issue id to the frontend.

Feature tests

  • User tries to create a new issue (really creating an issue would require a fake issue tracker)

Documentation

  • Update changelog
  • Add instruction to user manual
    • Mention that new tab may be blocked by the browser and user needs to allow Quality-time to open a new tab.
  • Update screenshots
@fniessink fniessink changed the title FR allow for creating a jira ticket from QT Allow for creating a Jira ticket from Quality-time Dec 4, 2021
@ICTU ICTU deleted a comment from Sebastiaan127001 Jun 19, 2022
@fniessink fniessink self-assigned this Jun 19, 2022
@fniessink fniessink linked a pull request Jun 21, 2022 that will close this issue
@fniessink fniessink moved this to Released in Quality-time backlog May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants