# Create a request and set priority

**URL:** <https://community.developer.atlassian.com/t/create-a-request-and-set-priority/18800>\
**Category:** JSM Cloud\
**Tags:** rest-api, jira-service-management\
**Created:** [May 22, 2018, 8:23am UTC](https://community.developer.atlassian.com/t/create-a-request-and-set-priority/18800 "2018-05-22T08:23:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evmorov](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/evmorov/32/36581_2.png) [@evmorov](https://community.developer.atlassian.com/u/evmorov)\
**Post date:** [May 22, 2018, 8:23am UTC](https://community.developer.atlassian.com/t/create-a-request-and-set-priority/18800/1 "2018-05-22T08:23:29Z")

</div>

[https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-request-post](https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-request-post) - there is nothing about priority. Can I set it?

Actually I even can’t find a way to change priority of a request at all though the API.

---

<div class="post-metadata">

**Author:** ![acalantog](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/acalantog/32/37988_2.png) [@acalantog](https://community.developer.atlassian.com/u/acalantog)\
**Post date:** [June 8, 2018, 12:04am UTC](https://community.developer.atlassian.com/t/create-a-request-and-set-priority/18800/2 "2018-06-08T00:04:42Z")

</div>

Hi @evmorov,

[These](https://developer.atlassian.com/cloud/jira/service-desk/rest/#fieldformats) are the available field formats you can update. I have not yet tried setting the priority, but I think you can, you just need to see the values and how you should be forming your json.

What I could suggest is, but this more of a hack than a solution:

1. Invoke the `/rest/api/latest/issue/createmeta` endpoint to see which issues are available or go straight to `/rest/api/latest/field` to see which fields are available
2. Try to compare it with [this](https://developer.atlassian.com/cloud/jira/service-desk/rest/#fieldformats)
3. Or try to `/rest/api/latest/issue/<ISSUE_ID>` of a JSD issue to get a feel of the key and value format not just for priority, but for the other fields as well.
4. Test it in:

```auto
     "requestFieldValues": {
        "summary": "Request JSD help via REST",
        "description": "I need a new *mouse* for my Mac",
      }

```

Or follow this: [Solved: How do you use the REST API to update Priority?](https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-you-use-the-REST-API-to-update-Priority/qaq-p/462496) but that won’t be using JSD’s endpoint.

Hope that helped.

Cheers,  
Anne Calantog
