{"_id":"@agile-central-technical-services/utils-attribute-uuid","_rev":"3-89eb403202b25c597526558bf7e8156c","name":"@agile-central-technical-services/utils-attribute-uuid","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@agile-central-technical-services/utils-attribute-uuid","version":"0.0.1","description":"A Node.js utility to convert an Artifact Attribute Name to a UUID","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/RallyTechServices/utils-attribute-uuid.git"},"keywords":["Agile","Central","Technical","Services","webhook","uuid"],"author":{"name":"Tyr Johanson"},"license":"ISC","bugs":{"url":"https://github.com/RallyTechServices/utils-attribute-uuid/issues"},"homepage":"https://github.com/RallyTechServices/utils-attribute-uuid#readme","dependencies":{"request":"^2.87.0","request-promise-native":"^1.0.5"},"gitHead":"7add402aeef48d7f02351c01d7f8ada548437598","_id":"@agile-central-technical-services/utils-attribute-uuid@0.0.1","_shasum":"0ad9c8f217a085eb8dc94716b9937ff262ea650b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"tyrjo","email":"tyrjo@yahoo.com"},"dist":{"shasum":"0ad9c8f217a085eb8dc94716b9937ff262ea650b","tarball":"https://registry.npmjs.org/@agile-central-technical-services/utils-attribute-uuid/-/utils-attribute-uuid-0.0.1.tgz","fileCount":4,"unpackedSize":15013,"integrity":"sha512-3GvScyIx0e140kBxF9498tNkU4bohSsiUo+9xAENowNUiLmDorWMs7KfPUKfNb9/ybjlqlRF1ZNG1CBLFjtykA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZKT8BJOXqf9FnxZYcQjEX/YGt7ZUxGE8coLU9GbY72wIgNea6NyeaaR5mvmMWnYyWcYy94ttRbkrY1SvPTEaCHZY="}]},"maintainers":[{"name":"tyrjo","email":"tyrjo@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-attribute-uuid_0.0.1_1529084771730_0.6571552461090076"},"_hasShrinkwrap":false},"0.0.2":{"name":"@agile-central-technical-services/utils-attribute-uuid","version":"0.0.2","description":"A Node.js utility to convert an Artifact Attribute Name to a UUID","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/RallyTechServices/utils-attribute-uuid.git"},"keywords":["Agile","Central","Technical","Services","webhook","uuid"],"author":{"name":"Tyr Johanson"},"license":"ISC","bugs":{"url":"https://github.com/RallyTechServices/utils-attribute-uuid/issues"},"homepage":"https://github.com/RallyTechServices/utils-attribute-uuid#readme","dependencies":{"request":"^2.87.0","request-promise-native":"^1.0.5"},"gitHead":"91c926cd51ffe2cc6df6c8a0bc3a72b3827e870e","_id":"@agile-central-technical-services/utils-attribute-uuid@0.0.2","_shasum":"e188f05c54822640c1fc9b2d5c46831672e5f195","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.12.3","_npmUser":{"name":"tyrjo","email":"tyrjo@yahoo.com"},"dist":{"shasum":"e188f05c54822640c1fc9b2d5c46831672e5f195","tarball":"https://registry.npmjs.org/@agile-central-technical-services/utils-attribute-uuid/-/utils-attribute-uuid-0.0.2.tgz","fileCount":4,"unpackedSize":15074,"integrity":"sha512-kwj4qznP8P7lBZOJPD8qBRrRCJi3/if/sA7WhY7/qOAntG4kF2aZIXeZotzz+rcLPO52IQ0MDWE/3TBRjFrQNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcMwRzWKFRZUJr2EjizX4CyppdUwglMtCbPAhP5hxAYAiEAqsNSoONB/tgundpQ041R503o3wGdInLirIp2COHJjkM="}]},"maintainers":[{"name":"tyrjo","email":"tyrjo@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils-attribute-uuid_0.0.2_1529347096916_0.10260041905914141"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-15T17:46:11.571Z","0.0.1":"2018-06-15T17:46:11.853Z","modified":"2022-06-12T14:21:38.506Z","0.0.2":"2018-06-18T18:38:17.061Z"},"maintainers":[{"name":"tyrjo","email":"tyrjo@yahoo.com"}],"description":"A Node.js utility to convert an Artifact Attribute Name to a UUID","homepage":"https://github.com/RallyTechServices/utils-attribute-uuid#readme","keywords":["Agile","Central","Technical","Services","webhook","uuid"],"repository":{"type":"git","url":"git+https://github.com/RallyTechServices/utils-attribute-uuid.git"},"author":{"name":"Tyr Johanson"},"bugs":{"url":"https://github.com/RallyTechServices/utils-attribute-uuid/issues"},"license":"ISC","readme":"# utils-attribute-uuid\n\nExports `attributeNameToUUID(attributeNameToUUID(workspaceUUID, typeName, attributeName)` which\nreturns a Promise that resolves to the UUID of the type attribute in the given workspace.\n\nUseful for custom attributes that are used in multiple workspaces as their name will change but\nhave a different UUID. The Agile Central webhooks API currently doesn't work when registering a\nwebhook for a custom field unless the attribute UUID is specified.\n\n## Usage\n```\nvar uuidUtils = require('utils-attribute-uuid');\nvar attributes = ['My First Custom Attribute', 'My Second Custom Attribute'];\n\nattributes.forEach((attribute) => {\n  return uuidUtils.attributeNameToUUID(\n      apiKey,         // Use your Agile Central API Key\n      workspaceUUID,  // Use a value specific to your workspace\n      'PortfolioItem',\n      attribute.name)\n    .then((uuid) => {\n      console.log(uuid);\n    });\n});\n```\n\n## Developer Notes\nTo Update\n1. `npm version patch` - This will update the package.json to a new version and create a git tag (e.g. `v1.0.1`). It will also run the `postversion` script\nto push the changes and tag to GitHub.\n2. `npm publish --access public` - This will publish the new version to npmjs.org\n3. Create the new release in [`utils-attribute-uuid/releases'](https://github.com/RallyTechServices/utils-attribute-uuid/releases)","readmeFilename":"README.md"}