Is there any possibility to change created by attribute in GCM Component using APIs?
Hi,
Is there any possibility to change the created by value of GCM Component using API?
We have a special requirement, GCM Components are created using Rest API and it automatically takes the user information from Jazz server and updates the "Created by" value with the user name
But for our usecase the App user (One who is logged in to integrated application) should be restricted to create Components in GCM instead "system user" is allowed to create Components so we need to have username in Created By as App user.
For this we tried to do POST call using "system user" credentials and created by value is updated with system user but we need to show App username in GCM.
Is that possible from GCM Api to update the created by value?
Thank you in advance,
Thiru
|
Accepted answer
David Honey (1.8k●1●7)
| answered Feb 22 '22, 4:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER No, that is not possible. As Ralph commented above,
It says that property is read-only.
Best regards,
David Ralph Schoon selected this answer as the correct answer
|
2 other answers
Ralph Schoon (63.5k●3●36●46)
| answered Feb 22 '22, 2:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER In my mind, it should not be possible to modify data such as CreatedBy, Creation Date, ModifiedBy, Modified etc. this would clash with Audit capability and truth of the data. I have not been able to modify those values in any Jazz application I have tried with whatever API I tried. I believe I have seen EWM/RTC integrations being able to set these values for the initial creation, but I do not know which API they used. There might be a special hidden API that allows this. Once created, these values should not be modifiable. |
David Honey (1.8k●1●7)
| answered Feb 22 '22, 4:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER The same applies to
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
No it isn't possible to change the created by property