Webhook to validate a project key before creating it returning null uri. Stumped.

Allen Culpepper April 4, 2023

Jira Server version 8.13.25 shows the api call to be the below...

 

/rest/projectvalidate/key

 

I keep getting the below...

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>null for uri: https://<URL>/jira/rest/api/latest/projectvalidate/JATT</message></status>

 

 

1 answer

1 accepted

0 votes
Answer accepted
Gideon Nolte [Jodocus]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2023

Hi @Allen Culpepper

from what I can see in the documentation, the key should be passed as a query parameter rather than a path parameter. That means, instead of calling:

/rest/projectvalidate/JATT

try calling:

/rest/projectvalidate/key?key=JATT

Hope this solves it.
Greetings
Gideon

Allen Culpepper April 14, 2023

Thank you, works great!

Suggest an answer

Log in or Sign up to answer