Jump to content

Steve G

Hornbill Developer
  • Posts

    746
  • Joined

  • Last visited

  • Days Won

    30

Posts posted by Steve G

  1. Hi @Giuseppe Iannacone,

    Are you building and sending API calls from Jira back into Hornbill? If so, which Jira app are you using to implement this?

    From your error message, it appears that you're using a JSON payload, which is not officially supported by Hornbill (yet). It works, but the JSON schema description is liable to change - as it did in the most recent release of the Hornbill platform. So I expect you are sending something like the following (from Gerry's XML example above):

    {
    	"methodCall": {
    		"@service": "session",
    		"@method": "userLogon",
    		"params": {
    			"userId": "admin",
    			"password": "cGFzc3dvcmQ="
    		}
    	}
    }

     When now you should be sending:

    {
    	"@service": "session",
    	"@method": "getSessionDetails",
    	"params": {
    		"userId": "admin",
    		"password": "cGFzc3dvcmQ="
    	}
    }

    Note the lack of methodCall property in the second snippet.

    Cheers,

    Steve

    • Like 3
  2. @QEHNick Chat ID is the ID of the 1-2-1 chat session with a user. This operation is used to send messages to private chat sessions rather than group channels. Private chat sessions can be created with the Chat > Create Chat operation, which outputs an ID that you can use in the Chat > Send Message operation (below).  If a one to one chat already exists between the account that the Teams integration is using, and the target user, the Chat ID of the existing chat will be returned.

    image.png

    Hope this helps,

    Steve

  3. Hi @Adrian Simpkins,

    Now I understand the requirements a bit better, you could actually perform this prior to the new operation.

    The Invite User operation has an output called Invited User ID. You can feed the content of that output into the Get User operation, which will then return all the relevant information about the invited user (including the Azure-generated UPN):

    image.png

    Cheers,

    Steve

    • Like 1
  4. Hi @Paul Alexander,

    The config is correct, I've just run it against my SCCM database twice (once for create, then one to test for dupes), and I'm getting no duplicates in the 500 records I have that match your clauses:

     image.png

    Wondering if there's a whitespace issue in play in your data. Might be worth trimming the column in your query to remove any leading or trailing whitepace characters, just to be sure:

    • SQL Server 2017 onwards: TRIM(dbo.v_GS_PC_BIOS.SerialNumber0) AS [SystemSerialNumber]
    • Other versions: LTRIM(RTRIM(dbo.v_GS_PC_BIOS.SerialNumber0)) AS [SystemSerialNumber]

    Hope this helps,

    Steve

  5. Hi @Martyn Houghton,

    v1.11.0 is a pre-release - it has dependencies on the build of Service Manager which is due for release at some point this week. As soon as Service Manager is in live, we will release 1.11.0. I'll have a look at the code that checks the release version, as that should not include pre-release builds.

    Cheers,

    Steve

    • Thanks 1
  6. @Martyn Houghton
     

    Also, re:

    1 hour ago, Martyn Houghton said:

    Just checking as cancelling and closing a Problem/Known Errors which are actively published does not result in the published information being removed from publication on the portals.

    This seems like a bug, or oversight. Please post this into the Service Manager forum and that development team will review.

    Thanks,

    Steve

    • Thanks 1
  7. @Martyn Houghton

    No, it was processing h_last_updated against the extended details table(s) for Problems and Known Errors, but published requests are stored in their own table, and it was those that needed updating. I've added support for that in v1.10.0, on GitHub: https://github.com/hornbill/goHornbillRequestImport/releases/tag/v1.10.0

    Take a look at the LastUpdated property of the PublishedMapping object.

    Cheers,

    Steve

  8. @Martyn Houghton We've just released v1.9.0 of the tool, which includes the ability to publish problems & known errors, fixed the datetime parsing issue for extended properties, and added the owner mapping ability too. It's on GitHub now, the wiki docs will be updated shortly.

    https://github.com/hornbill/goHornbillRequestImport/releases/tag/v1.9.0

    Cheers,

    Steve 

    • Thanks 1
×
×
  • Create New...