Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$60] Apply skills set to challenges created #482

Closed
jmgasper opened this issue Oct 19, 2023 · 0 comments
Closed

[$60] Apply skills set to challenges created #482

jmgasper opened this issue Oct 19, 2023 · 0 comments
Assignees

Comments

@jmgasper
Copy link
Collaborator

When creating a challenge for a Git issue, we need to make sure the skills set on the project are applied to the challenge. The new skills come from: #478

To set the skills, after the challenge has been created:

POST to https://api.topcoder-dev.com/v5/standardized-skills/work-skills

BODY:

{
    "workId": <Challenge ID>,
    "workTypeId": "413340e8-f56f-4061-8796-c916dfa82770",
    "skillIds": [
        <GUID IDs of the v5 skills to apply>
    ]
}

The work type ID can be configurable, but will not change dynamically - it's fine to make this an env variable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants