I’m trying to create an automation which posts a comment to a Linear issue. It works fine with single-line strings, but if I try a multi-line string like this:
then I get an error:
How do I fix this?
I’m trying to create an automation which posts a comment to a Linear issue. It works fine with single-line strings, but if I try a multi-line string like this:
then I get an error:
How do I fix this?
I have replicated the issue on my side, (Linear is our Main PM dev tool), so educated guess, is that a good chunk of the API still has warnings plastered over it “that its subject to change, functionality in alpha”. 2 months ago those warnings were on 90% of the API.
mutation CommentCreate {
commentCreate(
input: { body: "test content test content", issueId: "xxxx-xxx" }
) {
comment {
body
user {
id
}
}
}
}
Additional Reading: https://developers.linear.app/docs/
This should allow you to get back up and running in the meantime.
Fancy seeing you here @JugaadiTech
Thanks a lot for tagging me here. I’ll make sure to pass on the info