• We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding suggestion.

      Using JIRA's REST api, you can't set the Organization field using edit:
      https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-editIssue

      When trying to set it, it throws a 500 Internal Server Error.

            [JSDSERVER-4353] Add REST support for setting Organization on a ticket - Server

            Used this to get the id.  Just did it in my browser.

             

            https://<yoururl>/rest/servicedesk/1/organisations/project/10003/search?query=<name of org>

            Cory Galloway added a comment - Used this to get the id.  Just did it in my browser.   https://<yoururl>/rest/servicedesk/1/organisations/project/10003/search?query=<name of org>
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3011256 ] New: JAC Suggestion Workflow 3 [ 3648667 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2663877 ] New: JAC Suggestion Workflow [ 3011256 ]
            Owen made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2322489 ] New: Confluence Workflow - Public Facing v4 [ 2663877 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]

            Just answered my own question - it was probably a dumb one, but I am new to the JIRA REST APIs.

            I also had to do a lot of trial and error for this, and undoubtedly would have burned more without your post Nick. 

            The format that worked for me was. Hopefully this helps someone.

            {
                    "fields": {
                        "customfield_11300": [8]
                    }
                }
            

             

            Brett Larson added a comment - Just answered my own question - it was probably a dumb one, but I am new to the JIRA REST APIs. I also had to do a lot of trial and error for this, and undoubtedly would have burned more without your post Nick.  The format that worked for me was. Hopefully this helps someone. {          "fields" : {              "customfield_11300" : [8]         }     }  

            @Nick Menere - That doesn't seem right: shouldn't the format include the custom field ID? is this through the JSD or JIRA API?

            Brett Larson added a comment - @Nick Menere - That doesn't seem right: shouldn't the format include the custom field ID? is this through the JSD or JIRA API?
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 2053956 ] New: JSD Suggestion Workflow - TEMP [ 2322489 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2049225 ] New: JSD Suggestion Workflow [ 2053956 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 1608908 ] New: JSD Suggestion Workflow - TEMP [ 2049225 ]
            jonah (Inactive) made changes -
            Description Original: Using JIRA's REST api, you can't set the Organization field using edit:
            https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-editIssue

            When trying to set it, it throws a 500 Internal Server Error.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JSDCLOUD-4353].
              {panel}

            Using JIRA's REST api, you can't set the Organization field using edit:
            https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-editIssue

            When trying to set it, it throws a 500 Internal Server Error.

              Unassigned Unassigned
              299f0f7aaa75 Nick Menere
              Votes:
              12 Vote for this issue
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: