HDPI-7770: review case flag request changes - #2459
Conversation
CCD diff summary👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/32954803561?check_suite_focus=true AuthorisationCaseState.json
CaseField.json
AuthorisationCaseEvent/AuthorisationCaseEvent.json
AuthorisationCaseField/wlu-team-leader.json
AuthorisationCaseField/wlu-admin.json
AuthorisationCaseField/leadership-judge.json
AuthorisationCaseField/judge.json
AuthorisationCaseField/hearing-centre-team-leader.json
AuthorisationCaseField/hearing-centre-admin.json
AuthorisationCaseField/fee-paid-judge.json
AuthorisationCaseField/ctsc.json
AuthorisationCaseField/ctsc-team-leader.json
AuthorisationCaseField/citizen.json
AuthorisationCaseField/circuit-judge.json
AuthorisationCaseField/caseworker-pcs-solicitor.json
AuthorisationCaseField/DEFENDANTSOLICITOR.json
AuthorisationCaseField/DEFENDANT.json
AuthorisationCaseField/CLAIMANTSOLICITOR.json
CaseEvent/reviewSupportRequest.json
CaseEvent/requestSupport.json
CaseEvent/manageSupport.json
ComplexTypes/4_Party.json
ComplexTypes/PartySupport.json
CaseEventToFields/reviewSupportRequest.json
CaseEventToFields/requestSupport.json
CaseEventToFields/manageSupport.json
CaseTypeTab/93_supportcitizen.json
CaseTypeTab/92_supportcaseworker-pcs-solicitor.json
CaseTypeTab/91_support[DEFENDANT].json
|
Plan Result (aat) |
Plan Result (prod) |
| } | ||
| } | ||
|
|
||
| createReviewCaseFlagRequestTask(caseReference, requestedFlags); |
There was a problem hiding this comment.
Are the flags coming into this method actually flag requests ? I'm not very familiar with the flag logic here but the comment on saveReasonableAdjustmentFlags(...) suggests that this mergePartyFlags(...) method is used for caseworker flags
There was a problem hiding this comment.
Good point. mergePartyFlags() is used by the internal Manage/ Create case flags flow, so treating those incoming party flags as support requests is too broad. I've removed the ReviewCaseFlagRequest task creation from this method. The review-request task creation remains on the actual requested flag flow instead.
| "release-1.3-enabled": true, | ||
| "wales-make-a-claim-enabled": true, | ||
| "caseworker-wa-enabled": false | ||
| "caseworker-wa-enabled": true |
There was a problem hiding this comment.
Is this intended to be changed to true? Just double checking
There was a problem hiding this comment.
Yes just temporarily enabled to test caseworker WA, will change it back to false before merging
There was a problem hiding this comment.
This file is only for local dev anyway, so you don't need to commit it to control feature flags in preview.
Jira link
See HDPI-7770
Change description
Implements the Review Case Flag Request Work Allocation task
Testing done
Manual testing local and preview
Security Vulnerability Assessment
CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?
Checklist
PCS checklist
@EnabledIfEnvironmentVariable(named = "CCD_ENABLED", ...)+ shutter guard) unless they must run on unlabelled PRs (HDPI-8084)