-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Medium
-
None
-
1
-
Severity 3 - Minor
Summary
When searching the field of an issue that was transitioned and edited through a POST REST API request, it will return nothing.
If you search the field of an issue that was edited through the UI OR a PUT REST API request, the search will show that issue.
See the examples below.
When runnig the POST REST API request
curl -D- -u USERHERE -X POST -H "Content-Type: application/json" -d '{"update": {"comment": [{"add":{ "body": "test" }} ] },"transition":{ "id":"21" },"fields":{"customfield_10046":"4.4.4.4","resolution":{"name":"Done"}} }' https://yourinstance.atlassian.net/rest/api/2/issue/BS-8/transitions
Then, searching with the JQL query
project = BS and "Root Cause Analysis" ~ "4.4.4.4"
It won't show any results.
However, if you use a PUT request OR edit the issue through the UI, the search will show the issue.
Environment
JIRA v1001.0.0-SNAPSHOT
Steps to Reproduce
- create a POST request to transition an issue and update a field
- search for the field using "~" and the value you used in the API request
Expected Results
- It should show the issue when searching for it.
Workaround
- Edit the issue through the UI
- Edit the issue through PUT request
- Edit the issue through PUT request then transition with POST
- is related to
-
JCE-1414 Loading...