Clone and modify Contexts and their variables via API

We've been using Contexts for a bit now, and I'm glad for them, however, managing the creation and updating of them is too manual and error prone. I'd like to be able to clone one, then update it with a simple json type post request. This would save enormous amounts of time. In our use case, I have a generic application intended to be built in several variants, where each variant needs it's own context and set of variables, and these are based on branches. So, same code, same application basically, but deployed, branded and themed differently for each instance. Having to manually create a new context, and then add up to thirty (and counting) different vars for each is a PITA, so I think this would be quite useful. Thanks. 

  • William Hatch
  • Nov 13 2019
  • Duplicate
API
  • Attach files
  • Nathan Dintenfass commented
    November 14, 2019 19:57

    Please vote and add commentary to https://ideas.circleci.com/ideas/CCI-I-545 -- going to close this as a duplicate of that.

  • William Hatch commented
    November 14, 2019 20:22

    I searched and already looked at that suggestion, and I don���t feel it���s a duplicate, aside from a generic ask for api to manage contexts.

    William Hatch
    Software Engineer
    wkhatch@me.com