I am still working on Appian to JIRA integration. I have made some progress in

I am still working on Appian to JIRA integration. I have made some progress in that I can query JIRA to return a list of projects by name and key as well as retrieving data from a specific field. Now I am trying to tackle writing to JIRA. My first attempt is to just write a comment to one JIRA issue. I am not having any luck. Does anyone have any experience that is willing to share. Any help would be greatly appreciated.

Here is a code snipped:
a!httpWrite(
method:"PUT",
url: "sni-digital-dev.atlassian.net/.../12104",
           queryParameters: {
/* a!httpQuery will automatically url-encode query parameters for you,
* so it's OK to include spaces in the value of a query parameter */
a!httpQueryParameter(name: "body", value: {"Adding a comment to this issue"}),
                    },

OriginalPostID-144367

OriginalPostID-144367

  Discussion posts and replies are publicly visible

Parents
  • In below code you can find url, but we can't provide you server name,One more thing same credentials are working with httpget() function.
    a!httpQuery(
    url:"SERVERNAME:85/.../
    method :"GET",
    basicAuthenticationCredentials : a!httpAuthenticationBasic(
    username: a!scsField(
    externalSystemKey: "testWebAPI",
    fieldKey: "username",
    usePerUser :false()
    ),
    password: a!scsField(
    externalSystemKey: "testWebAPI",
    fieldKey: "password",
    usePerUser :false()
    )
    ),
    preemptive :true()

    )
Reply
  • In below code you can find url, but we can't provide you server name,One more thing same credentials are working with httpget() function.
    a!httpQuery(
    url:"SERVERNAME:85/.../
    method :"GET",
    basicAuthenticationCredentials : a!httpAuthenticationBasic(
    username: a!scsField(
    externalSystemKey: "testWebAPI",
    fieldKey: "username",
    usePerUser :false()
    ),
    password: a!scsField(
    externalSystemKey: "testWebAPI",
    fieldKey: "password",
    usePerUser :false()
    )
    ),
    preemptive :true()

    )
Children
No Data