[ 
https://issues.apache.org/jira/browse/CAMEL-17348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zachary Gutterman updated CAMEL-17348:
--------------------------------------
    Description: The camel-Jira newIssue endpoint depends on Jira's sorting by 
id to find the most recent issue. Jira sort by id, however, does not sort 
across all projects and is not a reliable way to return a list of newest 
issues. (See attached screenshot of sorted issues by id desc with endpoint 
[/rest/api/latest/search?jql=ORDER+BY+id+desc|https://zachtestjira.atlassian.net/rest/api/latest/search?jql=ORDER+BY+id+desc].)
 A solution could use the "created" field instead which reliably returns issues 
by most recent.  (was: The camel-Jira newIssue endpoint depends on Jira's 
sorting by id to find the most recent issue. Jira sort by id, however, does not 
sort across all projects and is not a reliable way to return a list of newest 
issues. (See attached screenshot of sorted issues by id desc.) A solution could 
use the "created" field instead which reliably returns issues by most recent.)

> camel-jira component newIssue does not work across multiple projects
> --------------------------------------------------------------------
>
>                 Key: CAMEL-17348
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17348
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jira
>    Affects Versions: 3.14.0
>            Reporter: Zachary Gutterman
>            Priority: Minor
>         Attachments: Screen Shot 2021-12-16 at 10.52.10 AM.png
>
>
> The camel-Jira newIssue endpoint depends on Jira's sorting by id to find the 
> most recent issue. Jira sort by id, however, does not sort across all 
> projects and is not a reliable way to return a list of newest issues. (See 
> attached screenshot of sorted issues by id desc with endpoint 
> [/rest/api/latest/search?jql=ORDER+BY+id+desc|https://zachtestjira.atlassian.net/rest/api/latest/search?jql=ORDER+BY+id+desc].)
>  A solution could use the "created" field instead which reliably returns 
> issues by most recent.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to