-
Type:
Bug
-
Resolution: Low Engagement
-
Priority:
Low
-
None
-
Affects Version/s: 7.6.2
-
Component/s: REST API
-
7.06
-
1
-
Severity 3 - Minor
-
0
Actual Behavior
The autoCompleteUrl for assignee, which returns whether an user is assignable, passes issueKey=null as a parameter. This doesn't make sense as we are just listing out fields for an issue to be created.
"assignee": {
"required": false,
"schema": {
"type": "user",
"system": "assignee"
},
"name": "Assignee",
> "autoCompleteUrl": "https://jpalharini.jira/jira764/rest/api/latest/user/assignable/search?issueKey=null&username=",
"hasDefaultValue": true,
"operations": [
"set"
]
}
If we run the above query with anuy value set for user, Jira returns the following.
{
"errorMessages": [
"The issue no longer exists."
],
"errors": {}
}
Expected Behavior
The returned URL should pass project=PKEY instead.
Steps to Reproduce
- Setup a Jira instance with at least one project;
- Execute a GET request on the following URL, replacing <PKEY> with a valid project key and <Type> with a valid issue type;
https://jpalharini.jira/jira764/rest/api/2/issue/createmeta?expand=projects.issuetypes.fields&issuetypeNames=<Type>&projectKeys=<PKEY>
Workaround
When processing the output of the above endpoint, replace issueKey with project.
- mentioned in
-
Page Loading...