Forums

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

Portal buttons do not work

Elodie CHAUMET October 21, 2019

In our portal, the buttons linked to workflow (Cancel request, solve ticket ...) are present but doesn't work.

An error 400 is raised when submit the request and nothing appear. 

****

console.js:35
/rest/servicedesk/1/customer/requests/transition:1 Failed to load resource: the server responded with a status of 400 ()

****

I restored default workflow but the problem still the same.

Do anybody has facing this issue and solve it?Jira issue.JPGjira issue 2.JPG

2 answers

1 accepted

0 votes
Answer accepted
Elodie CHAUMET October 23, 2019

I finally solve the issue by deleting the two fields (not used) that raised the errors on update. Fields were corrupt, , impossible to fill if present on the screen, and impossible to reload context on field setup. 

Thanks manon for the clue on errors.

Manon Soubies-Camy
Community Champion
October 23, 2019

Glad it helped! Thanks for the update :)

0 votes
Manon Soubies-Camy
Community Champion
October 21, 2019

Hi @Elodie CHAUMET ,

Can you please share the detailed response? You should find something like this in the Network tab:

{"errors":[{"errorMessage":"Please provide a valid value for field 'Summary'","field":"summary"}],"reasonKey":"cv.request.create.validation.failure","reasonCode":"400"}

This will help us understand the source of the issue.

- Manon

Elodie CHAUMET October 21, 2019

@Manon Soubies-Camy  here it is : 

{"errors":[{"errorMessage":"Impossible de récupérer la configuration du champ","field":"customfield_10060"},{"errorMessage":"Impossible de récupérer la configuration du champ","field":"customfield_10058"}],"reasonKey":"transition failed validation","reasonCode":"400"}

Fields 10058 & 10060 are Creator & Creator Email. The description of the fields include the following comment : "created by JIM during import process"

It seems something is wrong with these fields, because on the field interface (JIRA admin> ticket menu), when I want to edit the field , I also got the "Impossible de récupérer la configuration du champ". Screenshot attached. 

 

 

Manon Soubies-Camy
Community Champion
October 21, 2019

Thanks, it helps a lot!

Do you have administrative rights in Jira? If so:

  1. Go to these URLs to find out which fields are mentioned in the error message: https://<yourJiraName>.atlassian.net/secure/admin/ConfigureCustomField!default.jspa?customFieldId=10060 and https://<yourJiraName>.atlassian.net/secure/admin/ConfigureCustomField!default.jspa?customFieldId=10058
  2. Go to the workflow and check if there is any Validator associated with the transitions shown on portal:

Screenshot 2019-10-21 at 13.59.57.png

Hope this helps,

- Manon

Elodie CHAUMET October 21, 2019

Hi manon.

:-( no validator on the workflow. Could it be linked to publish functions?

Manon Soubies-Camy
Community Champion
October 21, 2019

Can you please share a screenshot of both the Validators and the Post-functions (Fonctions de publication in French) tabs for the "Cancel request" transition?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events