Hi,
When calling the rest endpoint from the scriptrunner rest endpoint, is there a way to keep the information about the user?
User > Rest Endpoint (user info exist) > Rest Endpoint (user info null)
There is also a way to pin user information to the second Rest Endpoint, but we are looking for another way because permission are fixed.
Thanks you.
Hi there,
By keeping the information, do you mean in a database or some text file? Technically they are doable as long you have the required permissions.
For example,
Basically, REST endpoints are a sort of API that allows you to do things, itself doesn't store data. But it doesn't prevent you to store things somewhere else.
Regarding your question on posting the user information to the second REST Endpoint, you can do that as well. Theoretically, you need to make an HTTP call from the first REST Endpoint to the second one. Here's an example from StackOverflow.
Hope the above helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.