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

Claus Ibsen resolved CAMEL-17348.
---------------------------------
    Resolution: Fixed

> 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: Improvement
>          Components: camel-jira
>    Affects Versions: 3.14.0
>            Reporter: Zachary Gutterman
>            Priority: Minor
>             Fix For: 4.10.8, 4.14.2, 4.16.0
>
>         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.10#820010)

Reply via email to