How to update power custom fields pro from rest api?

Sree Divya Bonagiri March 12, 2018

following is the get response of custom field

"customfield_13046": ["SocOptionImpl{label='ksoni', value='ksoni'}"],

 

How can I set same value for another issues using rest api?

1 answer

0 votes
Jonathan Muse {Appfire}
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.
March 12, 2018

Unfortunately, there's no support for setting the field directly via standard JSON requests for the PCF PRO add-on, sorry. If you have Power Scripts you could run remotely a SIL script which in turn can update that field, however, nothing from the REST API directly.

Documentation is available here: https://confluence.cprime.io/display/SIL/Common+REST+Service

Rustem Zinnatullin January 22, 2019

Can you please check this article https://confluence.cprime.io/display/KCFPRO/Example+9+-+Setting+field+value+using+Jira+REST+API

They say that there's an ability to update PCF via Jira REST API.

However, I got 500 responses from Jira. Tried JSON string, JSON object - both gave me 500 response.

Have any idea what they're talking about in the article?

Henry Lee July 14, 2020

I am also having the same problem and getting a error response from the server when attempting the REST API instructions. I suspect it means if you have an existing Jira issue with a Power Custom Field, you can try to set it with REST API, and even though the server gives you an error response, the field will be set anyway? This isn't a good solution for me so I guess I'm back to being stuck without REST API support.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events