COLLECT INFO:
Ask customer for Site UUID (and ideally collect customer name and prior job status)
SEARCH AND CONFIRM INFO:
Confirm in Engine that site is actually archived
Log into Engine as Sighten admin as customer user
In Engine, go to Ops. Search for “Cancelled” under Stage.
Go to Sales, select only archived under Stage
Confirm previous status of job. If customer has not provided, we will need to collect. Possible statuses are: Lead, System, and Proposal.
Open Postman
To check for Proposal, enter into Postman (replace {uuid} with Site UUID): https://engine.sighten.io/api/rest/solar_quote/?system__solarsite__uuid={uuid}. To check for workflow, confirm status “Signed” (should be in Ops portal). If status other than signed, should be in Sales portal.
To check for System, enter in Postman (replace {uuid} with Site UUID): https://engine.sighten.io/api/rest/system_system/?solarsite__uuid={uuid}
To check for Lead, enter into Postman (replace {uuid} with Site UUID): https://engine.sighten.io/api/rest/system_solarsite/{uuid}
If receive error “No results matching query parameters” and status code 200, then call was successful but job does not have that status. Move on to next status.
If you receive a data stream, then job is in that status.
TICKET CREATION
Use ticket https://sighten.atlassian.net/browse/BT-423 as reference. Clone it.
Create new ticket under “Engine Bugs and Data Fixes” project. Mark as task. Leave assigned to yourself.
In ticket description for any job status, request unarchive job:
Insert site UUID and Status in appropriate places:
PUT https://{{env}}.sighten.io/api/rest/system_solarsite/{uuid}
{
"status": "{status}"
}i.If there is a signed contract, also add to ticket the below (add site UUID):
PUT https://{{env}}.sighten.io/api/rest/solar_quote/{uuid}
{
"status": "SIGN"
}
TESTING
Test this on Staging (if Archived today, go in and archive on Mirror to enable testing)
Confirm you have correct job again via GET calls. Choose appropriate environment. Body should be empty. GET call will be: For all jobs: https://{{env}}.sighten.io/api/rest/system_solarsite/{uuid} For contracted quotes: https://{{env}}.sighten.io/api/rest/solar_quote/{uuid}
Add PUT calls as above in Postman Body tab. Change header to PUT and add appropriate call to body tab. For all jobs: {"status": "{status}"} For contracted quotes: {"status": "SIGN"}
Confirm in environment that de-archive was successful.
SUBMITTING TICKET
Add note that testing was successful and what environment
Assign ticket to David
Link to your original customer request ticket, and place that ticket in “awaiting development” status.
Party!
When new ticket is closed, update customer.
NOTE: un-archive for Ops pipeline jobs is more complex, see
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|