Is what the uprest principle is suppressed by the api rest of jira Edited

We work on the creation of  issue in the jira instance from an ERP using the api rest
Now I want to test if a issue with some parameters "Codeclient" is already exists  I modify its otherwise I create it "Principle uprest"

can I do this  in a single request of creation instead of request get and put, there is a module which alow us to do this ?

1 answer

1 accepted

0 vote

I am sorry, I do not think this has translated well.

I can not start to guess at what the title means.  I do not know what a "power supply of JIRA" might be.  I do understand that you are using the REST API, but I don't understand where you are going with parameters, codeclient or principle uprest

I understand you are trying to do a single issue create, so I can tell you that yes, you can create an issue with all fields filled in one go.  But I am stuck on the rest of it.

It might help if you posted in your native language?

Bonjour,

je m'éxcuse  sur la qualité du traduction , exactement j'utilise l'api rest pour la création d'une demande en envoyant des parametre par exemple (code chantier, code client) par un fichier Json,

ma question est :

Est ce que je peux envoyer une seule requête de création en testant l'existance de la demande avec un code chantier et code client envoyé.

la solution que j'ai proposé est d'envoyer une requête search  et suite à son résultat j'envoie une creation si la demande n'existe pas sinon une requête de mise à jour,

Est ce que je peux faire ça sans passé par  une requête de (recherche)

My French is bad, but I think I understand it.

No, you need to make two requests.  One to check the existence, and the second to do the create if the results from the check say it is needed.

thank you for your reply :)

best regards 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

36 views 3 1
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you