Hi, I am trying to fetch the information populated in a form through workflow automation by send web request option.
following this URL that I am using :
the response is not formatted and leads to failure. I am seeing all string quotations are missing. I have checked content-type has been set to "application/json" in the header.
to be sure of it, I stored the response as a variable and store that variable as a comment and still all string quotations are missing.
{label=Agency Roles, fieldKey=AgencyRole_1, answer=Role 1, choice=1},
{label=Agency Roles, fieldKey=AgencyRole_1, answer=Role 1, choice=1}
while the same i.e string quotations is present when fetching the same form through standalone python program
[ { "label": "Agency Roles", "fieldKey": "AgencyRole_1", "answer": "Role 1", "choice": "1" }, { "label": "Agency Roles", "fieldKey": "AgencyRole_2", "answer": "Role 2", "choice": "2" }]
I have to transfer complete output of the form to another system for further processing.
Community moderators have prevented the ability to post new answers.
This topic is now closed as the discussion has become outdated. If you have more questions or want to continue the conversation, feel free to start a new topic. For more details on why we close older threads, check out our Rules of engagement - Atlassian Community .
Thank you for your understanding!
I got the same problem.
According to this documentation, the response should be JSON, but it isn't:
Access forms data with the Forms API in Jira Cloud
But there is also another method presented which searches for the label name. works for me:
{{#webResponse.body}}{{#if(equals(label,"Field Name"))}}{{answer}}{{/}}{{/webResponse.body}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.