{"action":"opened","issue":{"url":"https://api.github.com/repos/DiginamicFormation/temp3/issues/52","repository_url":"https://api.github.com/repos/DiginamicFormation/temp3","labels_url":"https://api.github.com/repos/DiginamicFormation/temp3/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/DiginamicFormation/temp3/issues/52/comments","events_url":"https://api.github.com/repos/DiginamicFormation/temp3/issues/52/events","html_url":"https://github.com/DiginamicFormation/temp3/issues/52","id":316305671,"number":52,"title":"USGDM014 - admin - creation nature","user":{"login":"roddet","id":1372183,"avatar_url":"https://avatars1.githubusercontent.com/u/1372183?v=4","gravatar_id":"","url":"https://api.github.com/users/roddet","html_url":"https://github.com/roddet","followers_url":"https://api.github.com/users/roddet/followers","following_url":"https://api.github.com/users/roddet/following{/other_user}","gists_url":"https://api.github.com/users/roddet/gists{/gist_id}","starred_url":"https://api.github.com/users/roddet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roddet/subscriptions","organizations_url":"https://api.github.com/users/roddet/orgs","repos_url":"https://api.github.com/users/roddet/repos","events_url":"https://api.github.com/users/roddet/events{/privacy}","received_events_url":"https://api.github.com/users/roddet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T15:09:04Z","updated_at":"2018-04-20T15:09:04Z","closed_at":null,"author_association":"NONE","body":"En tant qu'administrateur j'ai la possibilité de créer une nouvelle nature de mission.\n\n![](https://github.com/DiginamicFormation/ressources-atelier/raw/master/gestion-des-missions/nouvelle.nature.png)\n\nRègles métier:\n* Les dates sont saisies au format DD/MM/YYYY\n* Un code nature est unique\n* On ne peut pas saisir 2 natures avec les mêmes attributs\n* Tous les attributs sont obligatoires\n* La valeur du % doit être inférieure à 10\n* Le plafond de frais quotidien doit être strictement positif\n* La date de début de validité est égale à la date du jour.\n\nJe peux effectuer les actions suivantes:\n* valider la nouvelle nature à condition que toutes les règles métier soient validées\n* annuler la création auquel cas je reviens à la visualisation des natures\n"}}
{"actor":{"display_login":"roddet"}}