You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Field 'components' cannot be set. It is not on the appropriate screen, or unknown.
Due to Jira permissions I do not have the permission to edit the corresponding screen to allow the field 'components' to be set. Uncommenting the lines
issue.Fields.Components = make([]*jira.Component, 0, len(r.conf.Components))
for _, component := range r.conf.Components {
issue.Fields.Components = append(issue.Fields.Components, &jira.Component{Name: component})
}
from notify.go solves the problem but it should probably be configurable whether jiralert attempts to set 'components'.
The text was updated successfully, but these errors were encountered:
I've wrapped the offending code in an if len(r.conf.Components) > 0 block, so it will now no longer set an empty list of components. I'll try to make a new release soon, but I'm trying to get the other 2 issues solved as well.
Hi,
creating a ticket fails with the error message
Field 'components' cannot be set. It is not on the appropriate screen, or unknown.
Due to Jira permissions I do not have the permission to edit the corresponding screen to allow the field 'components' to be set. Uncommenting the lines
from notify.go solves the problem but it should probably be configurable whether jiralert attempts to set 'components'.
The text was updated successfully, but these errors were encountered: