Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What are the correct values for Urgency and Impact?

Ben Hart May 15, 2024

I'm attempting to create an issue using Postman and specifying the Urgency and Impact however nothing I try seems to resolve these errors:

 

"parameters": [

"Field with id 'customfield_16006' named 'Urgency' has these errors : Specify a valid 'id' or 'name' for Urgency, \nField with id 'customfield_19955' named 'Impact' has these errors : Specify a valid 'id' or 'name' for Impact"

Here is my body:
{

"requestFieldValues": {

"labels": ["Ansible"],

"description": "description info goes here test.",

"summary": "summary here, test",

"customfield_16006": "3:",

"customfield_19955": "3:"

},

"requestTypeId": "3436",

"serviceDeskId": "1396"

}
I did pull up the request/xxx/field and I can see both Urgency and Impact like so:
{"fieldId":"customfield_16006","name":"How urgently does this need to be fixed?","description":"","required":false,"defaultValues":[],"validValues":[{"value":"13516","label":"Critical","children":[]},{"value":"13517","label":"High","children":[]},{"value":"13518","label":"Medium","children":[]},{"value":"13519","label":"Low","children":[]}]

I've tried using the value like '13516', the label "Critical" but neither seem to be accepted.

1 answer

0 votes
Ben Hart May 15, 2024

And I found the answer.. Had to google though. the 'similar issues' lookup did not return anyhting.

https://community.atlassian.com/t5/Jira-questions/I-m-trying-to-create-an-issue-of-type-quot-Bug-quot-with-custom/qaq-p/2353672

 

The fix was:

 

"customfield_16006": {"id": "13516"},
"customfield_19955": {"id": "17765"}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events