-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Component/s: Work Item - View (Internal developer use only)
-
12
-
Major
-
74
Issue Summary
Issue 1. Pinning the team Field doesn't move it under the Your pinned Fields option.
Issue 2. Also, checking for the Pinned team fields using the URL below
<your instance>/rest/api/3/mypreferences?key=jira.user.issue.details.pinned-fields.{project key}
shows a longer string
ari:cloud:jira:6759b517-b72c-4ef2-bb54-7606b16c89b3:issuefieldvalue/11614/customfield_10001
Instead of just customfield_10001
Steps to Reproduce
Issue 1
- Navigate to any project>issues
- Try to pin the team field.
- I have attached a screen recording - Screen Recording 2025-01-17 at 4.33.35 PM_2025-01-18T00:35:01.959Z.mov
Actual
A message appears that the field is pinned, and the pin icon next to the Team field turns grey but doesn't move up under Your pinned fields option.
Expected
The Team field moves under the Your pinned fields option.
---------------------------
Issue 2
- After pinning the Team field.
- Try navigating to the following URL from your browser.
<your instance>/rest/api/3/mypreferences?key=jira.user.issue.details.pinned-fields.{project key}
Actual
Shows a long string for the Team field.
ari:cloud:jira:366c0059-157e-4713-b991-f6428687769c:issuefieldvalue/10586/customfield_10001
Here is the screen recording - Screen Recording 2025-01-17 at 4.33.35 PM_2025-01-18T01:04:41.744Z.mov
Expected
Should only show customfield_10001
Expected Results
Issue 1 and 2 Expected.
Actual Results
Issue 1 and 2 Actual
Workaround
You could use the following API via Postman to pin/unpin the Team field.
<Your Instance>/rest/api/3/mypreferences?key=jira.user.issue.details.pinned-fields.{projectkey}
Steps to follow
- Use the Basic Auth, in which the username would be the Email'ID of the user(Jira instance) and the password would be the API token that the user could generate using the link - https://id.atlassian.com/manage-profile/security
- Method: PUT
- Body: customfield_10001(10001 is just an example. Please make sure to find the custom field ID using the steps here - go to the Custom Fields settings page (https://XYZ.atlassian.net/secure/admin/ViewCustomFields.jspa) and open View Field Information menu item for the fields you are interested in. Then find the custom field's ID in the URL)
- Go back to the UI, refresh the page, and the team field should be under Your Pinned fields.
- And the URL - <Your Instance>/rest/api/3/mypreferences?key=jira.user.issue.details.pinned-fields.{project key}: should only have customfield_10001 instead of ari:cloud:jira:366c0059-157e-4713-b991-f6428687769c:issuefieldvalue/10586/customfield_10001
- If you would like to unpin the team field, go to the Postman and run the body as "", and this should clear the field. The team field will get stuck if it is pinned/unpinned via UI.
Here is the documentation link - https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-myself/#api-rest-api-3-mypreferences-put