Unable to create jira issue in watcher action2

Hi All,

Please help on this as i have ad-hoc project which needs to be finished today.
I want to create jira action from kibana.
i went through the below link -
https://www.elastic.co/guide/en/elastic-stack-overview/current/actions-jira.html

    "actions" : {
      "create-jira-issue" : {
        "transform" : { ... },
        "throttle_period" : "5m",
        "jira" : {
          "account" : "integration-account", 
          "fields" : {
              "project" : {
                "key": "CPM" 
              },
              "issuetype" : {
                "name": "Incident" 
              },
              "summary" : "Encountered {{ctx.payload.hits.total.value}} errors in the last 5 minutes", 
              "description" : "Encountered {{ctx.payload.hits.total.value}} errors in the last 5 minutes (facepalm)", 
              "labels" : ["CPM_Test"], 
              "priority" : {
                "name" : "High" 
              }
          }
        }
      }
    }

Jira configuration in elasticsearch.yml is according to the documentation. below is my configuration.

xpack.notification.jira:
  default_account: monitoring
  account:
    monitoring:
      secure_url: http://localhost:8080
      secure_user: ManjunathanR  
      secure_password: *******
      message_default:
        from: watcher

but JIRA action execution fails getting the below error msg - xpack.notification.jira.JiraAccount.requiredSettingException

Using REST wrapper from plugin org.elasticsearch.xpack.XPackPlugin
[2019-06-20T02:05:12,440][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: SettingsException[invalid jira [monitoring] account settings. missing required [url] setting]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.15.jar:5.6.15]
Caused by: org.elasticsearch.common.settings.SettingsException: invalid jira [monitoring] account settings. missing required [url] setting
        at org.elasticsearch.xpack.notification.jira.JiraAccount.requiredSettingException(JiraAccount.java:108) ~[?:?]
        at org.elasticsearch.xpack.notification.jira.JiraAccount.<init>(JiraAccount.java:62) ~[?:?]
        at org.elasticsearch.xpack.notification.jira.JiraService.createAccount(JiraService.java:47) ~[?:?]
        at org.elasticsearch.xpack.notification.jira.JiraService.createAccount(JiraService.java:31) ~[?:?]
        at org.elasticsearch.xpack.notification.NotificationService.buildAccounts(NotificationService.java:71) ~[?:?]
        at org.elasticsearch.xpack.notification.NotificationService.setAccountSetting(NotificationService.java:43) ~[?:?]
        at org.elasticsearch.xpack.notification.jira.JiraService.<init>(JiraService.java:42) ~[?:?]
        at org.elasticsearch.xpack.XPackPlugin.createNotificationComponents(XPackPlugin.java:317) ~[?:?]
        at org.elasticsearch.xpack.XPackPlugin.createComponents(XPackPlugin.java:294) ~[?:?]
        at org.elasticsearch.node.Node.lambda$new$7(Node.java:412) ~[elasticsearch-5.6.15.jar:5.6.15]
        at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) ~[?:1.8.0_201]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_201]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_201]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_201]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_201]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_201]
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_201]
        at org.elasticsearch.node.Node.<init>(Node.java:414) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.node.Node.<init>(Node.java:245) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:233) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:233) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.15.jar:5.6.15]
        ... 6 more

your help will be greatly appreciate. Also if jira url(http://localhost:8080) which i used is wrong where can i get this link.(https://internal-jira.elastic.co:443)

Please don't ping people who are not yet involved in your question.

@dadoonet sorry for this i will remove them now.

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