The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Patching Jira custom field through API does nothing

ליאור בראודה
Contributor
May 21, 2023

Hello everyone, hope you are having a good day :)

We have written a script to update(patch) the value of a customfield on issues in our self managed instance. The script is written in Python and uses requests in order to send the API call.

We are using the following endpoint with the patch method: 

https://jira.example.com/rest/api/2/issue/[issueid]

We ran the script against various projects... this usually works, aside from three projects against which even making the API request through postman results in no changes.

Does anyone have any ideas on why we are unable to make the patch against a select few projects? (there are about 3 of them).

The same API request works against project JOMO for example while it does nothing against project MOJO. Both receive a response of 204.

We appreciate any help 🙏 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Craig Nodwell
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 Champions.
May 21, 2023

Hi @ליאור בראודה do those projects have any validators or conditions within their workflows that could prevent an issue update?  Is there anything in the permission scheme in those projects that may prevent an issue update.  Custom field configuration set for those projects.
You might want to check that.

ליאור בראודה
Contributor
May 22, 2023

Hey there Craig :)

Thank you very much for your suggestion! Unfortunately however, it turns out that neither of the three projects have any validators or conditions. 

Do you have any other ideas? We are stumped :(

Thank you in advance 🙏