I have a very simple automation script. When any description is updated, go and create these 4 stories under a xx Epic. While creating stories, also update the story point field with value 1.
When automation runs, it goes to xx Epic, creates 4 stories under it, but fails to update story point value there.
Error is :

Error message : The set fields may be unavailable for this project/type. Fields ignored:
Story Points (customfield_10005)
Issues created successfully.
Also Story point for a story is not allowed to update via short cut in Stories list under epic. Same error is thrown.