SWSBB Posted February 19, 2023 Report Share Posted February 19, 2023 I'm trying to get merge info data via the REST API from our plasic server on windows. Version: 11.0.16.7778 The swagger UI of our local server clearly states that the changesets endpoint includes mergeInfo as a property on the result object. But when calling the endpoint via postman the result doesn't include a mergeInfo property. Swagger UI Actual result I've found that the online docs have more query parameters https://docs.plasticscm.com/restapi/plastic-scm-server-rest-api-guide#tag/Changesets/paths/~1api~1v1~1organizations~1{orgName}~1repos~1{repoName}~1changesets/get There includeMergeInfo is a param with default false. I tryed using this param but it didn't work with our local server eighter. Any help? Link to comment Share on other sites More sharing options...
blue Posted March 8, 2023 Report Share Posted March 8, 2023 Hi @SWSBB, This issue was reproduced and the next release will include the fix of this. Please try it again with the next release and let us know if you have any questions or need further assistance. Link to comment Share on other sites More sharing options...
SWSBB Posted March 8, 2023 Author Report Share Posted March 8, 2023 Thank you so much 😃 Link to comment Share on other sites More sharing options...
SWSBB Posted March 17, 2023 Author Report Share Posted March 17, 2023 @blue I've checked the latest release notes and it isn't there. Did it not make it into the latest release or did you just omit the change from the release notes? Link to comment Share on other sites More sharing options...
SWSBB Posted March 17, 2023 Author Report Share Posted March 17, 2023 Ok, just installed the latest release and the fix is not included =/ Link to comment Share on other sites More sharing options...
blue Posted March 22, 2023 Report Share Posted March 22, 2023 Hi @SWSBB, Have you updated Plastic to the latest? I am able to receive MergeInfo and the API query ends with "changesets?includeMergeInfo=true". Can you please try to run with it? Link to comment Share on other sites More sharing options...
SWSBB Posted March 22, 2023 Author Report Share Posted March 22, 2023 Hi @blue You're right! It's working 😃 Thank you ❤️ I used the URL for one specific changeset `.../changesets/12345?includeMergeInfo=true` There the mergeInfo still is not returned But I'm fine with the `changesets` endpoint right now 1 Link to comment Share on other sites More sharing options...
SWSBB Posted March 23, 2023 Author Report Share Posted March 23, 2023 Hi @blue so I was trying to use the newly gained information, but sadly it isn't complete. The mergeInfo is only populated on the source changeset. I need it on the destination changeset. Some background: I have an after-checkin trigger that only has access to the destination changeset, so the mergeInfo is needed on this changeset as well. I have an example for you Link to comment Share on other sites More sharing options...
SWSBB Posted April 4, 2023 Author Report Share Posted April 4, 2023 hi @blue I posted this over at the new unity forum as well: https://forum.unity.com/threads/mergeinfo-not-populated-destination-changeset-rest-api.1421084/ 1 Link to comment Share on other sites More sharing options...
blue Posted April 13, 2023 Report Share Posted April 13, 2023 Hi @SWSBB, As mentioned in the new forum link, I am checking with the relevant team if there's any workaround. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now