Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

BigPicture: How to add skill to task using rest API?

Станислав Михальский
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 15, 2019

How to add skill to task using rest API or ScriptRunner (Groovy)?

This feature is not described in the documents

2 answers

0 votes
Pierre Ibrahim
Contributor
February 23, 2023

Hi There!

This would just be a get of the issue you want, then put with the updated field akin to the description in this page: https://developer.atlassian.com/server/jira/platform/updating-an-issue-via-the-jira-rest-apis-6848604/#:~:text=The%20simple%20way%20to%20update,These%20are%20ignored.&text=Some%20fields%20cannot%20be%20updated,(for%20example%2C%20comments). 

The skills module defaults to using the Labels field, so really you'd be adding a label in this format : skill#your_label_here_with_no_spaces

You can also set a skill on create via a post function that would just add that skill label, or you can bulk update your issues if you have one skill you want to apply to many issues.

0 votes
W Bot
Contributor
February 22, 2020

+1

Suggest an answer

Log in or Sign up to answer