pagoPA service integration Jira vs SeriviceNow
Questo progetto serve a far si che l'apertura di un ticket su Jira Work Management si rifletta su Service Now di Nexi
for build:
docker build -t pagopa-qi-jira-snow .
for run:
docker run -d --name=env_jirasnow --env-file=./.env -p 9000:80 -v .:/var/www/html pagopa-qi-jira-snow
With this payload, the app retrieves the information needed to open the ticket on Service Now through JIRA APIs
curl http://localhost:9000/create -X POST -d '{ "action" : "create" , "jira_ticket" : "PPIT-216" }'
With this payload, the app receives as input all the parameters needed to open a ticket on Service Now and associate it with the Jira ticket indicated in the jira_ticket field
curl http://localhost:9000/create -X POST -d \
'{
"action" : "createByTicket" ,
"jira_ticket" : "PPIT-0216",
"title" : "titolo",
"priority" : 3,
"description" : "descrizione" ,
"request_area" : "NPG" ,
"business_service" : "Codici 900 - Singolo pagamento" ,
"type" : "incident"
}'