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
  • Hi,
    I also want to use third party credentials for REST API,but getting error in connection..
    a!httpQuery(
    url:"http://SERVER_NAME/locations",
    method :"GET",
    basicAuthenticationCredentials : a!httpAuthenticationBasic(
               username : a!scsField(
               externalSystemKey : "externalSystemKey",
               fieldKey : "usernameKey" ),
               password : a!scsField(
               externalSystemKey : "ExternalSystemKey",
               fieldKey : "passwordKey"
    )))
    Error :[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HTTP error connecting to SERVER_NAME/.../1.1 401 Unauthorized,detail:No details available]]
    Please let me know how to resolve this?
Reply
  • Hi,
    I also want to use third party credentials for REST API,but getting error in connection..
    a!httpQuery(
    url:"http://SERVER_NAME/locations",
    method :"GET",
    basicAuthenticationCredentials : a!httpAuthenticationBasic(
               username : a!scsField(
               externalSystemKey : "externalSystemKey",
               fieldKey : "usernameKey" ),
               password : a!scsField(
               externalSystemKey : "ExternalSystemKey",
               fieldKey : "passwordKey"
    )))
    Error :[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HTTP error connecting to SERVER_NAME/.../1.1 401 Unauthorized,detail:No details available]]
    Please let me know how to resolve this?
Children
No Data