Jump to content

Andytaylor93

Hornbill Users
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Andytaylor93

  1. Hi, 

    We have found we're unable to send to a specific email/domain through Hornbill, we have been able to send from the same email address (customer.services@pamediagroup.com) to the domain (janggroup.com.pk)

    The mail log in Hornbill provides the following error

     

    MAIL DELIVERY LOG: [RecipID: 2918969] Unable to connect to SMTP server.ChilkatLog:
      VerifySmtpConnection:
        DllDate: Apr  3 2022
        ChilkatVersion: 9.5.0.90
        UnlockPrefix: HRNBLL.CB8102024
        Architecture: Little Endian; 64-bit
        Language: Visual C++ 2022 / x64
        VerboseLogging: 0
        smtpConnectAndAuthenticate:
          smtpConnect:
            smtpHostname: mx1.janggroup.com.pk
            smtpPort: 25
            connectionIsReady:
              Need new SMTP connection
            --connectionIsReady
            smtpSocketConnect:
              socketOptions:
                SO_SNDBUF: 262144
                SO_RCVBUF: 4194304
                TCP_NODELAY: 1
                SO_KEEPALIVE: 1
              --socketOptions
            --smtpSocketConnect
            smtpGreeting:
              readSmtpResponse:
                SmtpCmdResp: 550 Denied by policy
              --readSmtpResponse
              Failed SMTP greeting response code.
            --smtpGreeting
            Failed to get initial SMTP response..
            Will re-try one time...
            smtpSocketConnect:
              socketOptions:
                SO_SNDBUF: 262144
                SO_RCVBUF: 4194304
                TCP_NODELAY: 1
                SO_KEEPALIVE: 1
              --socketOptions
            --smtpSocketConnect
            smtpGreeting:
              readSmtpResponse:
                SmtpCmdResp: 550 Denied by policy
              --readSmtpResponse
              Failed SMTP greeting response code.
            --smtpGreeting
            Failed to get initial SMTP response again.
          --smtpConnect
        --smtpConnectAndAuthenticate
        Failed.
      --VerifySmtpConnection
    --ChilkatLog

     

     

    Any advice on this would be good, I think the 550 Denied by Policy means its been blocked by a policy on their end, is that due to something not configured correctly for Hornbill to send as our mail server?

     

    Thank you, 

    Andrew

    • Sad 1
  2. Hi, 

    I'm trying to use the Powershell Hornbill module to log requests through the API, I can log a request but i'm unable to map the corresponding questions so the BPM can go through the required process

    The request needs to have these answers in order to process properly (this is logged manually) 

    image.png.13b012e8208fc7ac85d5aa1172c481f6.png

     

    When logging the call through the API no questions are shown, i have tried using the "questionfieldmap" function but think unsure of the formatting (I have only tried to add the first question at the moment). The attached snippet is what I have written

    Install-Module -Name HornbillAPI
    Import-Module HornbillAPI
    
    $InstanceName = "INSTANCE"
    $APIKey = "APIKEY"
    
    Set-HB-Instance -Instance $InstanceName -Key $APIKey
    
    Add-HB-Param "com.hornbill.servicemanager"
    Add-HB-Param "ServiceRequests"
    
    Add-HB-Param "summary" "Change of Hardware Test"
    Add-HB-Param "description" "Change of Hardware Test"
    Add-HB-Param "customerId" "andyt"
    Add-HB-Param "status" "open"
    Add-HB-Param "categoryId" "781"
    Add-HB-Param "serviceId" "23"
    Add-HB-Param "bpmName" "change-of-hardware-v3"
    
    $QuestionFieldMap = @{question="PA or DVaaS";answer="DVaaS Machine";field_type="staticradioset";entity_type="request"} | ConvertTo-Json -compress
    
    
    Add-HB-Param "QuestionFieldMap" -ParamValue $QuestionFieldMap
    
    
    $response = Invoke-HB-XMLMC "apps/com.hornbill.servicemanager/ServiceRequests" "logServiceRequest"

    Any advice would be appreciated

  3. Hi, 

    We're having an issue with images in the email signiture from emails sent manually from Hornbill showing much larger than specified in the email template.

    Images are showing in real size

    image.thumb.png.9d444136afa1546ecaa2c60172420d22.png

    Rather than the size specified in the email template

     image.png.53e467cb65dca2a1814a11d8091cd7c3.png

    The images show normally in auto generated emails and the email template used for that shows the exact same sizes for the images.

    image.png.eceee69875f2cf9ac5b4c02e21b643a0.png

    I can inspect the emails properties and the details show that it should be the size specified in the email template (fourth image)

    image.png.b179626d1037c7eaf8baeffe60d5fc8b.png

    These are showing correctly in webmail.

    Does anyone have any ideas?

    image.png.eceee69875f2cf9ac5b4c02e21b643a0.png

  4. Hi, 

    We're struggling with a time related issue when scheduling jobs through the Hornbill API. 

    We're trying to build an automated deployment process between JIRA and Hornbill, which involves logging a call based off a JIRA ticket, including the scheduled time. The problem we're facing is that when logging the call from JIRA the call will be scheduled an hour later than the JIRA ticket states, it would appear that the API call is expecting a UTC time that Hornbill then processes for BST automatically for the schedule, however as we're wanting to put the call on hold until the deployment time, come off hold and start the deployment automatically this is causing problems. Its also inconsistently showing on notifications that are being sent out with the scheduled times. 

    Is it possible to provide the API call to Hornbill in BST, or is it possible to turn off this conversion from UTC to BST?

    Regards

    Andrew

  5. Hi, 

    Another issue this is causing is that, as we're trying to create an automated pipeline between Hornbill and JIRA for deployments, we were putting the call on hold until its scheduled time, however as this is out by an hour this is causing problems, do you have a solution for the scheduled time to show correctly as per the time logged from the JIRA ticket?

    Regards

    Andrew

  6. Hi all, 

    We've got an issue with the call schedule showing an hour later than intended. 

    We have an automated process where a script makes an API call to Hornbill to update the call with the scheduled start and end time as shown below. 

    image.png.23ee7394a6cfdbbce59e6706ad4e408d.png

    The problem is that the API call we made above provided a time of 10am and 11am for start and end time. 

    We can see in the database that the time seems to be converted to BST as the time in the database entry for the call is the same as the above schedule.

    My question is, how can we stop this conversion?

    Thankyou

    Andrew

     

  7. Hi, 

    We're currently experiencing an issue with timezones in Hornbill, I would like to set our timezone to British Summer Time (BST) but do not have an option to in the application or system options, this is throwing out scheduled times being passed into Hornbill from outside sources (JIRA etc)

    Is there a solution to this problem?

    Regards

    Andrew

×
×
  • Create New...