Skip to main content

How to Modify Starhive Objects Using Jira Automations

A worked example: updating a Starhive object of type Car whenever a linked Jira issue changes status, using Jira Automation's Send web request action against the Starhive public API.

Steps​

  1. Get the Type ID — open the type in Starhive and copy the Workspace ID and Type ID from the URL.
  2. Get the Attribute ID — authenticate against the Starhive API with a Personal Access Token, call the GET Type endpoint, and find the attribute you want to update in the response.
  3. Set up the Jira automation — add a Send web request action targeting the Starhive public API's PATCH object endpoint, referencing the Starhive custom field's object via a Jira smart value like {{issue.customfield_10982.objects.get(0).objectId}} in the URL, with the starhive-workspace-id header and an Authorization header carrying the PAT.
  4. Save and test the rule.
caution
  • {{issue.customfield_10982.objects.get(0).objectId}} only retrieves the first object in a multi-value custom field — this automation won't update the rest if the field holds several.
  • If no object is selected in the field when the rule fires, the URL is missing objectId, which typically results in a 401 Unauthorized error rather than a clear "nothing selected" message.