Details
-
Bug
-
Resolution: Fixed
-
High
-
11
-
Severity 3 - Minor
-
2
-
Description
Issue Summary
Running a JQL with the function projectsLeadByUser() returns an error (status 400 in browser console) if one of the projects is Archived:
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
- Move the project to Archived
- 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 in the Archived and content is inaccessible, however, this shouldn't prevent other project's 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 Archived projects 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.
- Alternatively, you can have a dummy user to set as project lead to projects to be marked as archived, but not sure if this would be a feasible option to everyone.
Attachments
Issue Links
- duplicates
-
JRACLOUD-78152 JQL with projectsLeadByUser() returns an error if one of the projects is Archived
- Closed
- mentioned in
-
Page Loading...