Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to update values on Jira based on the selection from ConfiForm (Web Service Request)?

I have been trying to put a condition on ConfiForm in order to update Jira ticket based on user selection on the ConfiForm, but it is not able to create Jira ticket. The code is working fine without the condition.

The same code is working when I am using "Create Jira Issue" Action. But While trying with Web Service Request it is not working.

Example condition, where I am trying to put label on Jira based on whether the user has attached file or not, "fi" is the field for attachment:

#set($attachment = "[]")

#if($attachment == "")
    "labels": ["ContentNA"],
    "labels": ["Content"],

1 answer

1 accepted

The contents is processed absolutely the same way - so if it works for "Create Jira issue" then it should work for "Web service request"

See also for examples on how to check fields for values...

If an attachment IS a file field then checking it for empty value like that will never work. 

As it is a "multi-value" field and should be checked with isEmpty function


Thanks @Alex Medved _ConfiForms_ 

#if($attachment.isEmpty()) worked for me.

Apart from this, I got below error too when I was not attaching any file:

Requested to has resulted in error. Response code = 415. Response contents:

This I managed to remove by checking on "Do not report error" checkbox.
Is it the right way to do it?

What content type do you set in the IFTTT that attempts to upload attachments?

I don't see any content type in the IFTTT. Attaching a screenshot related to the attachment.


Setting this to "do not report the error" does not fix the error

Attachment will not be uploaded

What do you have in the Request headers for the IFTTT that attempts to upload the file?

Screenshot 2022-03-25 at 09.32.51.png

What is the HTTP method parameter?


@Alex Medved _ConfiForms_ The error was coming only when I am not attaching anything. If I am attaching a file, this error is not coming.

For request header - Earlier it was the same as the above screenshot: "X-Atlassian-Token: no-check;"

But I have removed it now, thinking this was causing the error. But nothing changed after removing this as well.

Was confused by your earlier comments, I thought you were still struggling to upload an attachment

So, you need to make the IFTTT conditional

Checking if the attachment is present, before attempting to upload it


Assuming the field is named "fuDesc" in your form 

Like Md Pervez Nawaz likes this

@Alex Medved _ConfiForms_ - You are Amazing!!! :)
Thanks a lot, it's perfect now!

Glad to hear that

Accept the solution ;)

Like Md Pervez Nawaz likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

341 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you