You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/07/07 06:08:00 UTC

[jira] [Resolved] (CAMEL-19587) camel-jira: optional header field IssueAssignee doesn't work

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

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

> camel-jira: optional header field IssueAssignee doesn't work
> ------------------------------------------------------------
>
>                 Key: CAMEL-19587
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19587
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jira
>    Affects Versions: 3.21.0
>            Reporter: Claudio Miranda
>            Assignee: Claudio Miranda
>            Priority: Major
>             Fix For: 3.20.7, 3.21.1, 3.22.0, 4.0.0, 4.0-RC2
>
>
> There is a bug in the Jira rest client library, where calling the \{{builder.setAssigneeName(assigneeName)}} in [jira component|https://github.com/apache/camel/blob/camel-3.21.x/components/camel-jira/src/main/java/org/apache/camel/component/jira/producer/AddIssueProducer.java#L107] doesn't work, as it seems the jira rest api (backend) evolved to not support setting the field with name attribute.
> Community Discussion:
> https://community.developer.atlassian.com/t/creating-jira-issue-with-custom-assignee-in-jira-cloud-fails-with-account-not-found/27683
> https://community.developer.atlassian.com/t/connect-app-create-issue-using-rest-api-with-jwt-authorization/32505
>  
> However it worked when setting the field with the account id attribute.
> For a standalone server installation, using the {{name}} attribute works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)