Icinga / icingaweb2-module-jira

GNU General Public License v2.0
42 stars 16 forks source link

Cannot select (workflow) template while creating jira issue in 1.3.0 #107

Closed rafi0101 closed 1 year ago

rafi0101 commented 1 year ago

Hello,

in the new 1.3.0 Version I cannot select a workflow template for a new jira issue. After choosing a template I get the following error in Icingaweb: ERROR: array_key_exists(): The first argument should be either a string or an integer This worked fine in v1.2.2

This is my configuration: config.ini

[api]
host = "secret"
username = "secret"
password = "secret"

[ui]
default_project = "secret"
default_issuetype = "Task"

[icingaweb]
url = "secret"

templates.ini

[ack]
components.0.name = "secret"
assignee.accountId = "secret"
labels.0 = "icinga"

Jira Module: 1.3.0 icinga-php-library: 0.11.0

nilmerg commented 1 year ago

Hi,

ERROR: array_key_exists(): The first argument should be either a string or an integer

There should be a stacktrace involved, pleas show this.

In addition, please tell us your PHP version, or better yet, a screenshot of Icinga Web's about page.

rafi0101 commented 1 year ago

No I cannot find any stacktrace just this error message.

image image

nilmerg commented 1 year ago

Hm, is there anything in Icinga Web's log?

rafi0101 commented 1 year ago

Icingaweb logs to syslog, but I can't see any error messages there either

nilmerg commented 1 year ago

Okay, thanks, we'll check whether we can reproduce this.

raviks789 commented 1 year ago

@rafi0101 could you also mention the field types of fields used in your ack template.

rafi0101 commented 1 year ago

These 3 fields are all "systemfields" so no custom fields. May if it helps my project is a company managed softwareproject

rafi0101 commented 1 year ago

Hi @raviks789, I have seen that you have fixed the problem. When do you think this will be released because I see it was finished 3 weeks ago?

nilmerg commented 1 year ago

At the end of this month, probably.

rafi0101 commented 1 year ago

Hi @nilmerg, now it is already the middle of the next month. Any news?