Giter Site home page Giter Site logo

Comments (5)

JB221B avatar JB221B commented on July 28, 2024

In my case, solved by adding the priority field in the issue create screen for the project.

from zabbix-jira.

rcaballo avatar rcaballo commented on July 28, 2024

In my case, solved by adding the priority field in the issue create screen for the project.

@JB221B can you explain a bit more how did you fix this issue? please

from zabbix-jira.

JB221B avatar JB221B commented on July 28, 2024

In my case, solved by adding the priority field in the issue create screen for the project.

@JB221B can you explain a bit more how did you fix this issue? please

Certainly.

Note the returned error: "response text = {"errorMessages":[],"errors":{"priority":"This priority is not available for this project."}}".

In my case, at my Jira Service Desk, the native field Priority wasn't included in the Issue Create Screen for my Jira Project.

To Jira accept a field from api it must to be available in the correspondent Issue Create Screen, as if the ticket was created in Jira interface, although it is being created via api.

Is it more clear now?

from zabbix-jira.

rcaballo avatar rcaballo commented on July 28, 2024

@JB221B .... Any way to set priority to High always on the python script?

I can see that by default is creating priority "Warning"
as you can see https://github.com/OSidorenkov/zabbix-jira/blob/master/entry.txt

or do I have to create a "Warning" priority type on JIRA?

from zabbix-jira.

JB221B avatar JB221B commented on July 28, 2024

@JB221B .... Any way to set priority to High always on the python script?

I can see that by default is creating priority "Warning"
as you can see https://github.com/OSidorenkov/zabbix-jira/blob/master/entry.txt

or do I have to create a "Warning" priority type on JIRA?

As we can see in the script code, the entry.txt isn't used:

# zbx_body = open('entry.txt', 'r').read()
zbx_body = sys.argv[3]

The script uses the parameters received from Zabbix Alert Message defined in Zabbix Media Type, which uses the content of Zabbix Action Message. On Zabbix Action Message, the priority field is set with the Trigger Priority that triggered the event.

zbx;priority:{TRIGGER.SEVERITY}

So you can set a fixed values there in the Action Message, but you would consider to use it as it was planned, and respect the Trigger Severity, doing a coherent setup. That is my opinion.

from zabbix-jira.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.