Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Post request to custom bundled fields


In response i got this: 

"customfield_12345": "{\"configurationId\":19,\"baseGroupId\":{\"fields\":[{\"id\":\"5820e48d-1942-41f1-b122-dbb14b0e5a3d\",\"originId\":\"5820e48d-1942-41f1-b122-dbb14b0e5a3d\",\"value\":\"\"},{\"id\":\"2c645767-386a-4f7b-87ea-547ea5b267e9\",\"originId\":\"2c645767-386a-4f7b-87ea-547ea5b267e9\",\"value\":\"\"},{\"id\":\"5f775c02-2af7-4a63-9477-e51bbd3ff24f\",\"originId\":\"5f775c02-2af7-4a63-9477-e51bbd3ff24f\",\"value\":\"\"},{\"id\":\"91bb0d52-a786-4a98-8676-08921ad562ae\",\"originId\":\"91bb0d52-a786-4a98-8676-08921ad562ae\",\"value\":\"\"},{\"id\":\"4cfa0a3b-7a01-4549-a170-4503ae7196fc\",\"originId\":\"4cfa0a3b-7a01-4549-a170-4503ae7196fc\",\"value\":\"\"},{\"id\":\"d955ce49-2472-4934-b501-da46a8e7a28a\",\"originId\":\"d955ce49-2472-4934-b501-da46a8e7a28a\",\"value\":\"\"},{\"id\":\"aa3a9e95-c916-49c3-bfab-e4d9dee00b2a\",\"originId\":\"aa3a9e95-c916-49c3-bfab-e4d9dee00b2a\",\"value\":\"\"},{\"id\":\"1522bfdb-5530-4ed1-a148-a35f98346df2\",\"originId\":\"1522bfdb-5530-4ed1-a148-a35f98346df2\",\"value\":\"\"},{\"id\":\"3653f17a-c8f0-4869-8775-48cf5f03206f\",
I need to perform post request to those bundled fields, can somebody provide me with some examples, i can't find anything in documentation. Thnx

3 answers

0 votes

Hi @gitmario

It’s Aleksandra from Deviniti, the vendor of the Extension app, and I will do my best to assist you further.

I can see that you've recently reached out to our support, asking for advice on how to programmatically set bundled field values but, unfortunately, we're unsure if your question relates to the Server or Cloud version of the Extension app.

Please kindly specify the hosting and we'll be happy to share further instructions in his post as well!


Hi @Aleksandra Bosacka _Deviniti_ question relates to Jira Server version.


Please find more details about the possible approaches below.

If it comes to accessing bundled fields values on Jira Server/DC, some time ago we developed a dedicated Java API which allows for using data from subfields in ScriptRunner, or any other similar app. For more details, I encourage you to see the following articles in our online documentation. Hopefully, you will find it useful!

We are also planning to create our own REST API that will provide such information, and a corresponding task is already in our product’s backlog. What is more, at this stage there are still a few other approaches you could use to reference the subfields data via REST.

One of them is accessing Bundled Fields values via REST API, however, it involves the use of ScriptRunner. We’ve already verified that the Java API we deliver for bundled fields is compatible with custom REST endpoints that can be set directly in ScriptRunner. We’ve also checked that the combination of those two allows for building a PUT or POST request that utilizes our dedicated Java API to update or create bundled fields data.

As an alternative, you could also include one additional parameter in your Jira REST API call, and use renderedFields. Such a rest call will return all subfield names, and more precisely the form of the field which is presented in the e-mail notifications we described in this article.

Please accept my apologies for the lengthy comment although I hope that all the above explanations and hints will prove beneficial.

In case of any additional questions or doubts, feel free to contact us via our service desk. We’ll be happy to provide further assistance with some examples!

Best regards,

Thanks for your kind support.

Is there any implementation available with php? 

Hi @gitmario

Glad to be of help!

Unfortunately, at the moment we do not provide any dedicated approach for PHP. However, it will be possible once the public REST API for Bundled Fields is available. :)

A corresponding task is already in our backlog and we encourage you to watch the Extension app on the Marketplace to be informed about all new releases. We'll be also happy to inform you about this feature directly. Therefore, if you wish, feel free to contact us via our portal.


@Matthias Gaiser _K15t_ 

When i create bundled fields in jira like First name, Last name, Company, Country ...etc,

all those fields will be wrapped in one custom filed like customfield_12345 when i access them over api - get request. So my question is how can i post data to that fields over api if they are situated in one custom field.


Am I assuming right that you're using the Bundled Fields functionality provided by the app Extension for Jira Service Management?

If this is true, you might want to have a look at their article how to use bundled fields with Automation. It seems that the actual data is stored in an issue property instead of the custom field itself, but I'm no expert for that.

If you want further help, I'd recommend to reach out to their support.

Like gitmario likes this
0 votes

Hi @gitmario

can you elaborate in a bit more detail what you're trying to do?

My understanding is that you want to update the customfield_12345? If this is the case, did you check out the edit issue endpoint. Here is described how you can perform a PUT call to an issue in order to change its fields.

Is this what you're looking for?


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events