How to Provide Custom Fields in Jira Create Issue Action?

This topic was automatically generated from Slack. You can find the original thread here.

I am using the Jira Create Issue Action. Does anoyone know how to provide custom fields? I tried properties and additionalProperties (both plain values and json). But no luck so far. I even managed to get the customfield I need as dynamic field and set it with a value. However it is not correctly written to jira after all.

Hi , is it related to this closed issue?

Are you able to reproduce the issue? It should have been fixed

I actually did this without realizing it. Unfortunately it did not work. However, I resolved the issue by creating it using nodejs. I also needed to set ADF in the description rather than basic text. As far s I understood that pipedream action was only capable of plain text

So I had to refactor anyway. Thanks nonetheless

Hmm gotcha, thanks for the explanation

I’ll check in with the team if we can take a second look at the action

What is ADF?

Atlassian document format. Basically a json object telling jira how to format text, since it does not understand bbcode or markdown

https://developer.atlassian.com/cloud/jira/platform/apis/document/playground/

Cool, thanks for sharing those

my pleasure. would be happy to see it in the action itself. Since I am currently building this, are you interested in having the code. Currenty parsing bbcode to convert it to ADF

Yeah for sure! Can you share your Workflow URL you see in your browser?

yes I can. But not done yet. I will let you know :smile:

OK thanks!

I’m looking at your workflow, what was the Additional Property you were trying to config?
What was the key and value you inputted?

I tried many. Here are some that I remember (key, value)

label, test
labels, test
labels, [test]
label, [test]

Also short note on the bbcode endeavour. I eventually dropped it, as I found that the caller that triggeres the workflow is capable of sending html. This was much easier to convert (eventually)