[ 
https://issues.apache.org/jira/browse/CAMEL-17348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599884#comment-17599884
 ] 

Claus Ibsen commented on CAMEL-17348:
-------------------------------------

Thanks are you able to send a PR

> 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
>         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