[
https://issues.apache.org/jira/browse/NIFI-10793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamas Palfy resolved NIFI-10793.
--------------------------------
Fix Version/s: 1.19.0
Resolution: Fixed
> Comment is not populated when process group is created via API
> --------------------------------------------------------------
>
> Key: NIFI-10793
> URL: https://issues.apache.org/jira/browse/NIFI-10793
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.18.0
> Reporter: Zsihovszki Krisztina
> Assignee: Zsihovszki Krisztina
> Priority: Major
> Fix For: 1.19.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The comment field is not set for the newly created process group.
>
> {code:java}
> curl -H "Content-Type: application/json" -X POST -H "Authorization: Bearer
> <your_token>" -k -d '{"revision": {"version": 0}, "position": {"x": 0.0, "y":
> 0.0}, "component": {"name": "Curl Test Group", "comments": "This is a
> comment"}}'
> https://<hostname>:8443/nifi-api/process-groups/<parent_process_group_id>/process-groups
> {code}
>
> The comment ("This is a comment") is not shown on the created process group.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)