Help Center> CodeArts Repo> User Guide> New Version (Recommended)> Using CodeArts Repo> Managing MRs> Detailed Description of E2E Ticket Number Association Gate
Updated on 2023-07-25 GMT+08:00

Detailed Description of E2E Ticket Number Association Gate

Opening/Closing the Gate

  1. Go to the target repository and choose Settings > Policy Settings > Merge Requests.
  2. Configure the Gate.

    • Select Must be associated with CodeArts Req and click Submit to save the settings. The gate is enabled.
    • Deselect Must be associated with CodeArts Req and click Submit to save the settings. The gate is closed.

Effect of Gate Triggering

  • E2E ticket number: associated: It is displayed when the merge request is successfully associated with the work item.

  • E2E ticket number: not associated: It is displayed when the merge request has no associated work item.

Passing of the Gate

  1. Click the target project name to access the project.
  2. On the Work Items tab, click Create Work Item and choose Task from the drop-down list. The page for creating a work item is displayed.

  3. Enter a title, for example, Sprint 1.

    Retain the default values for other parameters. Click Save.

  4. Choose Code > CodeArts Repo.
  5. Click a repository name to go to the target repository.
  6. Switch to the Merge Requests tab page and click the name of the target merge request to access the target merge request.
  7. On the Details page, click the icon next to Associated Work Items to search for and select the target work item.
  8. Click OK. The E2E ticket number is associated.