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 votes
Accepted answer

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?


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
Community showcase
Posted 12 hours ago in United States

Administrators Cleanup

Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...

16 views 0 0
View post

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