-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues keep getting duplicated #47
Comments
@yoshi314: do these issues show up, when you navigate to that service's Issue list (from the Icinga Web monitoring detail view)? |
i actually cannot see any issues in jira module. That's odd. |
I'm confused, the last two statements seem to contradict each other. Could you please share more details? |
Issues pop up in JIRA as duplicates (they even have the same icingaKey), but i cannot see any issues from icingaweb2 module's view. |
Are they somehow transformed in a specific JIRA workflow? Does the |
creator is the same, issues are all not resolved, i don't see how they would differ wrt workflow. I'll inspect them in a bit more detail, unless i can get out some more debug info out of the module. |
I tried applying the query from jira module to my jira instance and i cannot find issues i am looking for. e.g. icingaKey ~ "BEGINconniedb*" works, but it lists plenty of issues. But icingaKey ~ "BEGINconniedb!queue sizeEND" returns nothing. even though i can directly see that icingaKey listed. I am at a loss here. What could be wrong? |
Turns out that avoiding special characters like ! _ or anything nonnumber or digit helps. Jira's ~ operator is rather quirky. Perhaps the sdcript ought to avoid using host!service notation. and instead use e.g. capital i for separator. Or other fixed string |
I have replaced the makeIcingaKey function with one that adds a fixed text separator and removes all non a-zA-Z0-9 characters from the field during generation. It seems to work so far. |
I know it has been forever and I am also not sure if it is still relevant, but do you still have the code you used and want to share it in a PR? |
in function makeIcingaKey i basically added this :
|
Hi @yoshi314, Could you also mention the icingaweb2-module-jira version you were using when the issue occurred? Also, could you check if this issue still persists in the latest icingaweb2-module-jira (v1.2.2) version? Note: Instead of |
i'll test this sometime next week |
This just started happening today. No clue as to what changed.
The text was updated successfully, but these errors were encountered: