I am using JIRA rest api for jql search. It says we can filter out fields using fields parameter. Is there a way we can filter out properties from a particular field. eg. field assignee has many properties. But I am interested only in property displayName. Is there a way we can filter out all other properties?
Add a comment
|
2 Answers
JQL will search all properties inside the assignee field to check if something is matching. So it should work out-of-the-box, for example assignee = "John Smith", in this case John Smith is the display name.
4 Comments
Cyril
But the search is not based on assignee. I need to get all assignee names which come up for a jql search.
Laurent Jalbert Simard
So you're not searching issues, you want to search for users ?
Cyril
Actually, i am fetching issues and displaying it in front end. But JIRA api provides way too much information on an each issue. eg. avatar url of the assignees. I need to filter out such information. I need very basic information on each issue eg. description, assignee name etc..
Laurent Jalbert Simard
Sorry for not answering your question. I guess the only thing you can do now is filtering this data on the client side.