Forum Discussion

Jeroen_Gouma's avatar
2 years ago
Solved

Variable json content in http integration

Hi all, we implemented custom http integration to create tickets in Jira Servicedesk. This works fine. However, new requirement is to put a variable (##jira.assetid##) in the content to link the ti...
  • Mike_Moniz's avatar
    2 years ago

    When you say that integration fails, do you mean that LM doesn’t sent the REST request at all? Or that Jira is rejecting the json you are passing? I thought that LM will just fill in unset tokens with nothing, aka send over  "customfield_10500": [] . If you are looking to have some sort of default value when it’s not set, I would suggest setting a jira.organizationid property on the root folder/group as a default and let sub groups override it.

    I don’t use Jira so I might not understand the situation fully. I’m assuming jira.organizationid is assigned to groups/resources and not pulled from somewhere else.