Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a project in Jira via Confiforms Webrequest

asalem August 24, 2021

Hello,

I want to create a project in Jira Server via Confiforms webrequest ifttt

So i did successfully first the connection link between the confluence and jira server.

Case: I created a form and in the form some fields. One field is a status and when a status's value changed and equel "approved" then would create a project in jira.

There are the Ifttt macro setting:

Ifttt macro setting.pngIfttt macro setting 02.png

There is the Ifttt macro body

Ifttt body.png

 

But After the onModified event came the following error:

error.png

 

Could anyone please help me to get this correctly?

 

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
August 24, 2021

Hi

I suggest to look at the server logs to see the exact reasons for this action to fail

Also, try POSTing this JSON from the command prompt to verify it works, before setting up it in ConfiForms

Alex

asalem August 24, 2021

I had looked and found the following:

error logfile.png

 

What that means???

And where can i try this JSON code before do it in Confiforms?

 

Thanks

Alex Medved _ConfiForms_
Community Champion
August 24, 2021

Not sure what this screenshot illustrates, so I cannot comment

But I can answer "where" to try JSON code and where this should be done before complicating it with ConfiForms

https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/

asalem August 24, 2021

Honestly i didn't find a case like mines! And there is no example about creating a project in jira via Confiforms. I have searched and didn't fide anything.


What would do you suggest to do in this case?


Thanks

Alex Medved _ConfiForms_
Community Champion
August 24, 2021

Well, it was not about the case like yours... specifically

But shows how to send over the request to Jira.. of course you can have your OWN request... those are just examples

I mean, from the example like 

Screenshot 2021-08-24 at 16.30.54.png

you should be able to produce the one that you need... right? Just posting to a different URL and different JSON... seeing how it's done in example

Alex

Alex Medved _ConfiForms_
Community Champion
August 25, 2021

The easiest option to debug your Jira REST API call with ConfiForms is to create a simple form like this

Screenshot 2021-08-25 at 10.27.35.png

This you can submit and receive a response back (if error), which will help you to identify what is wring with your JSON or WebRequest configuration

 

Hope it helps

Alex

Like asalem likes this
asalem August 25, 2021

Thank you too much.

 

The problem was authentication because i had created the web service without authentication!

neue Jira-Projekt Fehler.png

 

The connection now is with authentication and it works :)

 

 

Thanks

Alex Medved _ConfiForms_
Community Champion
August 25, 2021

Awesome. Feels good to help :-)

Suggest an answer

Log in or Sign up to answer