Get all users' skills
Returns a skill map for all users.
GET
/rest/skillsforjira/1/expertise
Request:
None
Response [JSON]:
skllsByUserKey: Skill map for all users
Example:
Request:
HTTP GET: http://your-instance.com/rest/skillsforjira/1/expertise
Response (200):
{"skillsByUserKey":{"JIRAUSER10100":[{"key":"Engineering - Beginner","addedAt":1684751913939,"addedBy":"admin"},{"key":"Engineering - Proficient","addedAt":1684751913939,"addedBy":"admin"},{"key":"Engineering - Expert","addedAt":1684751913939,"addedBy":"admin"}],"admin":[{"key":"Use Case Writing","addedAt":1684751899066,"addedBy":"admin"},{"key":"Test Planning","addedAt":1684751899066,"addedBy":"admin"},{"key":"Test Automation","addedAt":1684753342724,"addedBy":"admin"}]},"userKeysBySkillKey":{"Test Automation":["admin"],"Engineering - Beginner":["JIRAUSER10100"],"Engineering - Proficient":["JIRAUSER10100"],"Test Planning":["admin"],"Engineering - Expert":["JIRAUSER10100"],"Use Case Writing":["admin"]}}
Get user skills
Returns all skills of the specified user.
GET
/rest/skillsforjira/1/expertise/{userKey}
Request:
userKey (path): Key of the target user. Required
Response [JSON]:
An array of all skills that the user has expertise in
Example:
Request:
HTTP GET: http://your-instance.com/rest/skillsforjira/1/expertise/JIRAUSER10001
Response (200):
[{"key":"Use Case Writing","addedAt":1684751899066,"addedBy":"admin"},{"key":"Test Planning","addedAt":1684751899066,"addedBy":"admin"},{"key":"Test Automation","addedAt":1684753342724,"addedBy":"admin"}]
Bulk update users skills
Updates skill sets of multiple users at once
HTTP Method: POST
Request:
skillsByUserKey: users / skills mapping
Response [JSON]:\
All users' skill changes after the import is processed
Example:
Request:
HTTP POST: https://{your-generated-endpoint-url} { "skillsByUserKey": { "admin": [ "Engineering - Expert" ] } }
Response (200):
{"admin":{"addedSkillKeys":["Engineering - Expert"],"removedSkillKeys":["Engineering - Master"]}}