-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting without saved response IDs and postman collection ID #2906
Comments
Any progress on this? Really blocks our team from using postman.. |
Our workflow is to keep the canonical versions of collections in Git, and push then to the cloud in CI, using the IDs as keys. And the Postman Editor is the nicest way to edit collections. So being able to import, edit, export without having to manually revert the ID change would be helpful. So for us "keeping the ID" is useful. Deleting it is not. |
This is huge issue for us too. Please prioritize this. |
VCS-friendliness was made worse in 7.23 due to the script ID uniqueness fix. See #4802 |
Starting from version 7.23, Postman does not seem to be a viable option for our team due to the replacement of the IDs in hundreds of test cases. We are looking for ways to workaround this issue or moving away from Postman altogether. |
Any updates about this issue? The GUID changes is difficulting a lot the evaluation of real tests changes. |
I use SMART Json Editor in order to modify postman collections. |
+1 Any update on this? This has become quite the pain point while using any versioning tools. |
+1 Is this going to be implemented soon? We are considering other options - editing JSON in editor is not good idea if you have a large collection. |
Thanks @ManiacDC. I'll give that workaround a try. It may work for me on my machine, but the file I commit will still have the "id" changes, which could impact my teammates if they do not have this BC configuration, or if they're using another diff tool. Thank you for the suggestion! |
@eraymond-bt I work around this by keeping two copies of the file. I import/export my file NOT in the working copy, then I use BC to move the changes to the file in my WC. I move only the IMPORTANT changes. Then I'm not cluttering my commit with IDs. If you want to sync up the two files, you can just copy the file from your WC and overwrite the other copy, or turn minor differences back on and copy all the minor differences over to the other copy. |
@ManiacDC There are many workarounds, but proper solution is to remove IDs when collection is exported from Postman. This can be optional (checkbox, for example) on export screen. |
@zoranbgd of course? That's why my post above is a workaround. It's a ton of work that wouldn't be needed if we simply could export without IDs. |
+1 |
+one |
Thanks, everyone for the input and upvoting, it really helps us understand the needs of our userbase. |
Hey everyone! We've just released Postman 7.36.1 that now strips all IDs from the collection exports. You can update your app or get the latest version from the downloads page. Thanks for your patience with this issue and let us know if you have any feedback. 🙏 |
Looks like the API is still serving up
Will the API be changed as well? Or is there a v2 I need to switch to? |
Thank you @arlemi, this really means a lot. |
@lbenedetto Calling that endpoint on the same collection will always give you the same IDs, though seeing your workflow |
Yes, thank you! |
@lbenedetto The API will be changed as well, I've created this issue so it can be tracked separately to this one which is now resolved: #9375 🙂 |
Thanks a lot, @arlemi for the announcement. Just tried and works like a charm!! |
This update looks useful in version control in postman. But where could i find export option in version 8.0 postman? |
@VV-55 You can find it by opening up the collection in a tab (clicking on the collection name in the left nav) and then clicking on the ellipsis and then Export. |
I'm wondering if I'm doing something wrong. Do I need to change a setting or something? |
@Thommynator I've tried on the latest v8, and Postman Web, but I'm not seeing the IDs being exported... Is that an old collection that you're trying to export? And do you have this issue with any collection or just this one? |
What I did:
For me the
Additionally, all the requests which are using a "Pre-request Script" and/or a "Test Script" had changing ids, too.
But now I found out that this only happens for already existing requests. New requests will not have this id anymore. |
So the Have you tried if duplicating the requests was getting rid of the script ids? Otherwise recreating them, or removing the ids manually are the only things I can think of. 🙁 |
On the latest Postman version (v8.2.2) the Collection Variables are generating new ID's every time with each export of the collection. Similar problem to what was resolved with this current issue. This type of bug keeps sneaking back in.
Anyone else seeing this happen? New Bug Issue needed? |
@jgalvacky-bt Thank you for reporting, we're looking into it! |
@arlemi so how do we go about keeping the ids in collections? I need to run specific folders (via newman) and if they have duplicated names, then the only way to do this is using the "id" of the folder. If these are being removed each time I export from Postman UI, then I would have to keep adding those ids back in again. |
This is my experience: |
Any updates? This goes on for years... Must not so hard to fix permanently |
This is still an issue on Postman 10.12.0.
Can we get a documentation word on what the argument was to include personal IDs in an export? |
Importing and exporting a collection will export also the following non-stable values:
_postman_id
response
anid
For every import-export these values change and therefore this is not source versioning friendly. Hence a Postman collection cleanup step is necessary before committing the exported collection.
It would be nice if the non-stable internal IDs would either:
The text was updated successfully, but these errors were encountered: