Giter Site home page Giter Site logo

Comments (10)

justinDJC avatar justinDJC commented on August 20, 2024

Further to the above.

I've found that in the API logs, it looks like its trying to look up the ticket as though it was a service ticket, but the API needs to be looking at in in the project area. Perhaps they made changes to the API?

404 (NotFound) GET https://portal.djc.com.au/v4_6_release/apis/3.0/service/tickets/473050

If i log in in by browser and change service to project, i get data.

from cwslack-slashcommands.

kenoyer130 avatar kenoyer130 commented on August 20, 2024

from cwslack-slashcommands.

jundis avatar jundis commented on August 20, 2024

@justinDJC Sorry for the delay on this, I should have a patch in for this sometime this week or next week.

from cwslack-slashcommands.

justinDJC avatar justinDJC commented on August 20, 2024

Legend. Thanks mate.

from cwslack-slashcommands.

jundis avatar jundis commented on August 20, 2024

@justinDJC Still delayed. We're stuck on 2019.1 currently due to our server still being 2008r2. Currently working to figure out a migration plan with CW, and once that's done I'll have an update in for this.

from cwslack-slashcommands.

justinDJC avatar justinDJC commented on August 20, 2024

No stress at all mate. Thanks for the update :)

from cwslack-slashcommands.

jundis avatar jundis commented on August 20, 2024

We're finally on it. I'll have an update for this sometime this week, sorry for the delays.

from cwslack-slashcommands.

jundis avatar jundis commented on August 20, 2024

@justinDJC Bit of an idiot and could've had this workaround for you a while ago, sorry. If you set functions.php to have $globalVersion = "2019.2"; on line 29 instead of 2019.3, it should work while I make a patch.

from cwslack-slashcommands.

justinDJC avatar justinDJC commented on August 20, 2024

Hi Mate!

No stress at all. I gave your quick fix a go and the error changed to:

Notice: Undefined property: stdClass::$dateEntered in -------/cw-slack/cwslack.php on line 776

Line 776 is: $date=strtotime($dataTData->_info->dateEntered); //Convert date entered JSON result to time.

I'll await your update :)

from cwslack-slashcommands.

jundis avatar jundis commented on August 20, 2024

@justinDJC Updated files should correct those issues. Replace the main cwslack file, incoming, timealerts, and time. I also updated functions to correctly say 2019.2 for API version

from cwslack-slashcommands.

Related Issues (20)

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.