Implement display of JSM approval history in the shared page
Description
Integrate the Jira Service Management approval history into External Share by fetching data from the REST API endpoint:
{{GET /rest/servicedeskapi/request/
/approval}}.
Display the approval history under the activity tab next to comments, work logs, and changelog.
Media
Display of approval history on JSM depicted above.
Accepted criteria
- Display the approval history effectively within External Share under the activity tab.
- Ensure the approval history is positioned correctly alongside comments, work logs, and changelog.
Linked issues
relates to
SUP-726
Jira Service Management - "Affected services" field not shareable
Closed
Activity
Show:
Hello @Daniel Siara,
Please merge code to dev branch.
This is the best moment to add more information that can be helpful to prepare release notes.
Can you prepare short overview of change that can be used in release notes?
Please provide short GIF that showcase feature.
If GIF make no sense, can you provide image that highlights feature that can be used in release notes (cropped & annotated)?
Task verified - QA env
No request type:
Request type:
Once Request type is set, Approval history is visible
When Parent permission is restricted, View approval is not possible
Parent config - Approval enabled
but there is an issue with a share
The issue was identified:
When Request type is not being set, we won't receive data from api
@Polina Naumenko Anticipating your questions, we are not able to get the
approve
date of a particular person. Atlassian in its API displays only the given creationapproval
and the date of its completion without partial approvalsHello @Daniel Siara
This is the best moment to add more information that can be helpful for tester.
What areas are affected?
What are potential edge cases?
Was it checked for XSS problems?
Does change affect security, is new data exposed?
Please attach - Before / After screenshot if possible.
@Daniel Siara Approved
@Mariusz Szymański changes applied
@Mariusz Szymański please take a look
Hello [~accountid:],
Task is ready for review.
@Daniel Siara please make sure reviewer
have easy access to contend to be reviewed.
If this is code change. Please make sure PR is created.
If this is new documentation, blogpost, etc. Please provide link to page.