Dear All,
I have two questions. If you could help me with any one of those, I would be very grateful.
1) I have few criteria to search a particular issue. Now I want to get the last updated attachment information from that issue. The issue have number of other attachments in .csv format. However, I want only the last uploaded one. Is there any function or reference keyword in the JQL to achieve the same.
2) Also could you please let me know how do I access the nested child elements of attachments and get a restricted JSON response with only intended attachments attribute.
Example:
Issue: {
Fields:
{
Status:
Issue Type:
Attachments:
{
id:
created:
content:
self: // I want the JSON response against the GET query results me only the four attributes, id, created, content and self url.
........................................................
......................................................
}
}