BoxThatBeat / BoxThatBeat/obsidian-agile-task-notes

Incorrect BaseURL Formatting When Collection is Not Set AzureDevops

Open
#30 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
55
Forks
22
PR merge metrics
No merged PRs in 30d

Description

### Description
When a collection is not specified in the settings for Azure DevOps, the BaseURL is incorrectly formatted with an extra slash. This issue occurs in the construction of the BaseURL, leading to an invalid URL format.

### Steps to Reproduce
- Set Azure DevOps settings without specifying a collection.
- Construct the BaseURL using the provided settings.
- Observe the generated URL.

### Expected Behavior
The BaseURL should be formatted correctly without an extra slash when the collection is not set. For example, if the project name is projectName, the expected URL should be:

`https://dev.azure.com/projectName`

### Actual Behavior
The BaseURL is currently including an unnecessary slash when the collection is not set, resulting in a URL like:

`https://dev.azure.com//projectName`

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Azure DevOps settings handling and the code that constructs the BaseURL. Reproduce the case with no collection specified, then verify that the resulting URL is https://dev.azure.com/projectName rather than including a double slash.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.