Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Now, you can define

...

custom

...

variables in ARN template JQLs and pass

...

their value from a Webhook URL parameter.

...

Use case this tries to solve is - if the external application has some additional parameter that is also available in Jira. e.g. passing labels from the external application.

Let’s see the steps:

Step 1

...

  • Create/edit any type of template in ARN

  • In the JQL section within the template, include a custom variable in the JQL like this. [labelName] is the custom input variable below.

    Code Block
    project = "[projectId]" and fixVersion ="[versionId]" and labels = "[labelName]"

 Step 2

  • When a template with such JQL is added to a rule

...

  • triggered by webhook

...

...

While passing values of custom variables in the webhook URL, spaces and special characters should be replaced with relevant URL

...

encoded values.
Example : If the value of a labels field is “ARN & Roadmap Portal”, then it will be passed in the webhook URL like this:

...

You can use any online service like this to convert the variable value in valid format.

Important points to note

...

  • , system shall ignore the custom variable passed in webhook for the JQLs in which that custom variable is not included.

  • In case of custom variables for user picker fields like assignee, reporter, while passing their value in the webhook URL, use their Jira account id instead of Jira user names.
    Example : in below JQL, if you have to pass variable value for the Jira user “John W”, you have to use his Jira account Id.
    JQL :

    Code Block
      projoect="[projectId]" and assignee="[assigneeName]"

    Webhook:
    https://arn.upraise.io/arn/executewebhook/42256/b5b995e3-bb1b-4bf9-adda-efae0dda458b?assigneeName=61f2a19dc3cb7c00723b311g

  • There is no change in template preview screen and users

...

  • will not be able to pass value to custom

...

  • variables through the template preview action.

On this page

Table of Contents
maxLevel4
minLevel2
stylesquare

Iframe
scrollingyes
srchttps://amoeboids.typeform.com/c/loItQqk5?typeform-cui-avatar=https://images.typeform.com/images/RsZMyNqkfNcY#url=/spaces/ARN/pages/84541493/Triggers
width350
frameborderhide
alignmiddle
height250

Request support👨‍💻

Leave us a review(green star)