Tags are not getting updated using CLI since late afternoon

Jayreprisk
Jayreprisk
Community Member

Here is the JSON I'm using. The same JSON worked with tags at 2:50PM ET yesterday , and did not work after that. Are there any ongoing issues?

It adds all the fields except "tags" .

{
"title": "DB-test_user",
"tags": ["test", "email@example.com" , "test_user"],
"category": "DATABASE",
"fields": [
{
"id": "notesPlain",
"type": "STRING",
"purpose": "NOTES",
"label": "notesPlain",
"value": ""
},
{
"id": "database_type",
"type": "MENU",
"label": "type",
"value": "Other"
},
{
"id": "hostname",
"type": "STRING",
"label": "server",
"value": "tesdb.com"
},
{
"id": "port",
"type": "STRING",
"label": "port",
"value": "3306"
},
{
"id": "username",
"type": "STRING",
"label": "username",
"value": "testuser"
},
{
"id": "password",
"type": "CONCEALED",
"label": "password",
"value": "testpass"
},
{
"id": "sid",
"type": "STRING",
"label": "SID",
"value": ""
},
{
"id": "alias",
"type": "STRING",
"label": "alias",
"value": "NewDB"
},
{
"id": "options",
"type": "STRING",
"label": "connection options",
"value": ""
}
]
}

Comments

  • Horia.Culea_1P
    edited August 2022

    Hey @Jayreprisk ,

    Has there been any change in your local setup? Have you upgraded your version of the CLI or anything like that?
    Can you please let us know what version of the CLI you run, as well as what OS you use?

    Looking forward to hearing from you,
    Horia

  • Jayreprisk
    Jayreprisk
    Community Member

    OP 2.5.1. Ubuntu 20 LTS. There were no changes in the local setup. Adding an item using CLI works. It's just the tags field is ignored if specified inside the JSON. I have a workaround by removing the tags field from JSON and adding it to CLI option '--tags tag1,tag2' .

  • Hi @Jayreprisk , I have just tried out creating an item with your provided template and tags do appear on OP version=2.7.0. You might want to update your CLI. Let me know if this fixes it for you.

    All the best,
    Andi

This discussion has been closed.