Unable to pass varible for staus id for jira in api

Hello,

i need to pass variable for body to change comment via http request in jira.
original body - working
“{”“update”“: {”“comment”“: [{”“add”“: {”“body”“: ““test””}}]},”“transition”“: {”“id””: "“11"”}}”

when i am passing variable instead of 11-
“{”“update”“: {”“comment”“: [{”“add”“: {”“body”“: ““test””}}]},”“transition”“: {”“id””: “”“+in_Config(“Awaiting support response ID”).ToString+”“”}}”

it is not taking in _config as a variable

when i am passing in double cotes it is taking but giving error

help me on same.
i need to pass variable for transition id as we are doing in pre production and we have so many api calls.
help me on same.

Hi @Mathkar_kunal

Can you try this

"{""update"":{""comment"":[{""add"":{""body"":""test""}}]},""transition"":{""id"":""" + in_Config("Awaiting support response ID").ToString + """}}"

Please check the data type of in_config (string,Objects)

Hope this helps!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.