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
  • No luck with this code either. Here is the code snipped that I use for the query:
    index(index(a!httpQuery(
    method:"GET",
    url: "sni-digital-dev.atlassian.net/.../project
               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: "jql", value: {""}),
                        },
    basicAuthenticationCredentials:a!httpAuthenticationBasic(
    username:a!scsField( externalSystemKey:"test", fieldKey:"username", usePerUser:false()),
    password:a!scsField( externalSystemKey:"test", fieldKey:"password", usePerUser:false()),
    preemptive:true()
    )
    ),"result",{}),"body",{}),
Reply
  • No luck with this code either. Here is the code snipped that I use for the query:
    index(index(a!httpQuery(
    method:"GET",
    url: "sni-digital-dev.atlassian.net/.../project
               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: "jql", value: {""}),
                        },
    basicAuthenticationCredentials:a!httpAuthenticationBasic(
    username:a!scsField( externalSystemKey:"test", fieldKey:"username", usePerUser:false()),
    password:a!scsField( externalSystemKey:"test", fieldKey:"password", usePerUser:false()),
    preemptive:true()
    )
    ),"result",{}),"body",{}),
Children
No Data