{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/2623","repository_url":"https://api.github.com/repos/projecthydra/sufia","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/2623/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/2623/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/2623/events","html_url":"https://github.com/projecthydra/sufia/issues/2623","id":174800200,"number":2623,"title":"Modifications to workflows cannot happen if there are items already in the workflow","user":{"login":"vantuyls","id":9534576,"avatar_url":"https://avatars.githubusercontent.com/u/9534576?v=3","gravatar_id":"","url":"https://api.github.com/users/vantuyls","html_url":"https://github.com/vantuyls","followers_url":"https://api.github.com/users/vantuyls/followers","following_url":"https://api.github.com/users/vantuyls/following{/other_user}","gists_url":"https://api.github.com/users/vantuyls/gists{/gist_id}","starred_url":"https://api.github.com/users/vantuyls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vantuyls/subscriptions","organizations_url":"https://api.github.com/users/vantuyls/orgs","repos_url":"https://api.github.com/users/vantuyls/repos","events_url":"https://api.github.com/users/vantuyls/events{/privacy}","received_events_url":"https://api.github.com/users/vantuyls/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projecthydra/sufia/labels/mediated%20deposit","name":"mediated deposit","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-02T16:34:40Z","updated_at":"2016-09-02T18:05:42Z","closed_at":null,"body":"If there are items currently in a Mediated Deposit Workflow, no changes can be made to the workflow until in-process items are cleared out. \r\n\r\nThis is a first step towards a smarter way of being able to modify workflows with items in-process. In the future, we're hoping to be able to modify workflows with items in-process without orphaning or otherwise \"screwing up\" those in-process items. \r\n\r\nDecomposes #2442 "},"comment":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/comments/244447353","html_url":"https://github.com/projecthydra/sufia/issues/2623#issuecomment-244447353","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/2623","id":244447353,"user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T18:05:42Z","updated_at":"2016-09-02T18:05:42Z","body":"@jeremyf We were thinking the initial target would be a single workflow for the entire site, and it's either on or off. That lets us build out prerequisites and a first design, upon which we can iterate and make improvements. Which is to say, we'd approach admin set-related workflow in follow-up tickets. So, the first target is: there is one and only one workflow, and you can only modify it (add step, remove step, reorder steps) once 0 items are in the workflow. This gets us out of the business of, say, the items themselves needing to keep track of the state of the workflow.\r\n\r\nShould we set up a time to chat, @jeremyf @vantuyls? Steve and I were talking yesterday about wanting to pull you in, to the extent that you are available of course."}}
{"actor":{"display_login":"mjgiarlo"}}