Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

send2jsm trigger severity and host tags

Kakollu, Ashok
November 27, 2025

Testing JIRA service management with Zabbix . Followed the steps as per the Integrate with Zabbix | Jira Service Management Cloud | Atlassian Support. I'm getting alerts created automatically, however it seems I can't send {TRIGGER.SEVERITY} and a custom host tag {EVENT.TAGS.ENVIRONMENT} in alert summary/subject and description. 

1 answer

0 votes
John Funk
Community Champion
November 27, 2025

Hi Kakollu,

Where are you trying to modify the Summary? Is it in the Create rule in the Integration? 

Kakollu, Ashok
November 28, 2025

Thank you for your response @John Funk . Here is my challenge. I'm not able to send HOST Tags such as Environment as an argument to JSM. On the JSM alert rule I created an alert property called "{{_payload.environment}}" and that property is dragged on to alert "message" field in alert rule . I'm now adding environment as a custom argument to send2jsm command. But for some reason, it is not working. Here is my full send2jsm command 

 

/home/jsm/jec/scripts/send2jsm -triggerName='{TRIGGER.NAME}' -triggerId='{TRIGGER.ID}' -triggerStatus='{TRIGGER.STATUS}' -triggerSeverity='{TRIGGER.SEVERITY}' -triggerDescription='{TRIGGER.DESCRIPTION}' -triggerUrl='{TRIGGER.URL}' -triggerValue='{TRIGGER.VALUE}' -triggerHostGroupName='{TRIGGER.HOSTGROUP.NAME}' -hostName='{HOST.NAME}' -ipAddress='{IPADDRESS}' -eventId='{EVENT.ID}' -date='{DATE}' -time='{TIME}' -itemKey='{ITEM.KEY}' -itemValue='{ITEM.VALUE}' -recoveryEventStatus='{EVENT.RECOVERY.STATUS}' environment '{HOST.TAGS.Env}'

 

Not sure what I'm missing here. Please note that Env is a custom tag created for Zabbix host. I tried with EVENT.TAGS as well ,but nothing worked. 

John Funk
Community Champion
December 1, 2025

Did you create the Environment as an Extra Properties field? 

Like Kakollu, Ashok likes this
Kakollu, Ashok
December 1, 2025

Thanks for the response again. How to do that and how to send that extra property as part of send2jsm. Any examples?  I tried _payload.environment in alert rule and tried to send that via send2jsm using environment argument as HOST.TAGS.Env but that didn't work. Appreciate if you can share an example 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events