T-Shirt Size field

Emilia Traczyk February 23, 2023

Hi, is there any endpoint to get the value from t-shirt size field in issue?

1 answer

1 accepted

1 vote
Answer accepted
Tugba Capaci
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2023

Hi @Emilia Traczyk ,

As i understand, you are trying to estimate efforts with using t-shirt sizes. You can use endpoint below

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get

In the returned response, the tshirt size is most likely a custom field.

Example response;

Screen Shot 2023-02-23 at 16.08.42.png

Emilia Traczyk February 23, 2023

ok, thank you. If I don't have this custom field in fields, can I add this somehow to it?

Hannes Obweger - JXL for Jira
Atlassian Partner
February 23, 2023

Hi @Emilia Traczyk

as @Tugba Capaci said, the t-shirt size of your issues is most likely some custom field, as this is not a built-in Jira feature. 

If the t-shirt size is visible on your issue, it should also be included in "fields"; it will, however, almost certainly have a different identifier. To figure out the identifier, you can call the fields endpoint and search for the name of your field. 

Emilia Traczyk February 24, 2023

Hi, thank you. you are right - on my side it's called customfield_11000. Is it possible to set the value to it if on my side is null?

Hannes Obweger - JXL for Jira
Atlassian Partner
February 24, 2023

That depends on the custom field implementation, but normally, you should be able to update it via the regular edit issue endpoint, regardless of its current value. I don't know which format it expects, tho. Perhaps set a value in the UI, see the value in the issue API response, and figure out the format. Maybe it's just a number, maybe it's something else. Then use this format in the edit issue endpoint.

Emilia Traczyk February 24, 2023

Ok, thank you so much for your help :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events