Forums

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

How to get Organization ID's associated with a Request via API?

Lars Morten Nygaard
Contributor
January 22, 2024

Is there way to get the assosiated OrganizationID(s) of a Service Management request using the Service Management og the regular Jira API.

Thanks in advance.

1 answer

0 votes
Kai Becker
Community Champion
January 23, 2024

Hi @Lars Morten Nygaard 

thanks for your question.

Every issue has this information stored. Easiest way to access it:

  • Open issue via REST using https://<sitename>.atlassian.net/rest/api/3/issue/KEY-123
  • search for organisation (customfield_xxxxx), probably 10002
  • the id should be located in the json object

Alternatively it should also be accessible via smart value like this: {{issue.Organizations.first.id}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events