Details
-
Bug
-
Resolution: Fixed
-
Medium
-
7
-
Severity 3 - Minor
-
Description
Update
This bug was closed as a duplicate of https://jira.atlassian.com/browse/JRACLOUD-77091
The updates will be done on the other one from now on.
Issue Summary
Running a JQL with the function projectsLeadByUser() returns an error (status 400 in browser console) if one of the projects is in the Trash:
A value provided by the function 'projectsLeadByUser' is invalid for the field 'project'.
Steps to Reproduce
- Create a project
- Add issues to it
- Ensure you are the Project lead
- Archive the project
- Run a JQL with the same user like:
project in projectsLeadByUser()
Expected Results
The project should not be returned in the results as it's Archived and content is inaccessible, however, this shouldn't prevent other projects' content to be displayed.
Actual Results
Error is displayed:
A value provided by the function 'projectsLeadByUser' is invalid for the field 'project'.
Workaround
- Restore all the projects you are the lead of from the Archive to be able to perform the search, but please keep in mind that this will make the project accessible according to the permission scheme associated with it.
- Move the projects to the trash, the ones that the affected user is the project lead associated with it.
- Alternatively, you can have a dummy user to set as project lead on the Archived projects.
Attachments
Issue Links
- is duplicated by
-
JRACLOUD-77091 JQL with projectsLeadByUser() returns an error if one of the projects is Archived
- Closed
- is action for
-
C2CJ-1053 Loading...