I moved the setAttribute for 'Lifecycle' to the beginning of the update and it works now. No idea why this works but I guess I figured it out.
Am still getting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just came across this post - not knowing whether the problem still exists.
I got the same error in my automation. It means that Jira tries to access an object type attribute (ota) which cannot be found, e.g. because it does not exist or cannot be retrieved for other reasons (permissions?).
So in my case the reason was a simple typo in the attribute name. I fixed it and it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.