Forums

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

Update a custom field value in issue via REST API and reindex in Jira DC

Negin Nafari March 17, 2022

Hello,

I have a question regarding the custom field updates via REST API.

I am using a simple PUT command to update a date picker field in an issue in Jira DC, and I wanted to know if I also need to take care of the reindex of the issue or the index will be fine when the PUT command is executed?

 

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Radek Dostál
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 17, 2022

Re-index is automatic.

You can also verify it by doing a JQL search afterward, since JQL is solely based on indexes (apart from custom 3rd party functions pretty much). In any case, issue field values are all based on indexes as far as JQL goes, and incurring REST is logically the same as updating the issue in web UI - so yes, no need to worry about indexing.

Suggest an answer

Log in or Sign up to answer