Hi All,
I have had a Agent working automatically updating Priorities for a while now and recently I have started getting
Failed to convert string to JSON. Error: No content to map due to end-of-input at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1]:
The first Create a Variable is working but the second isn't with the error above being recieved.
This is the Agent Response:
{ "issueId": "184329", "priority": "3", "issueKey": "ITSN-73496", "summary": "Downgrading priority from Highest to Medium based on impact assessment. The issue is a local disk space error for a single user, which impacts productivity but is not a system-wide outage or a total work block.", "priorityName": "Medium" }
Any one able to help with this?
If you want to use the priority of an issue to be set as JSON, the smart value you used format is: {{jsonStringToObject(issue.priority)}}
You can us 2 fields in json to string, the fields you want to use need to be in the clause, priority can be outside the clause.
@Bill Sheboy would you have an idea on this, I think you can't use 2 options in the jsonStringToObject?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.