User entityProperty for Jira not created

I’m struggling to get my entity properties to register in the app. When I request the user property I always get the the error:

“The property eaa_app_user_rate does not exist.”

Any help would be greatly appreciated.

The applicable parts of my manifest.yml and request are below:

modules:
  jira:entityProperty:
    - key: "eaa-app-user-rate"
      entityType: "user"
      propertyKey: "eaa_app_user_rate"
      values:
        - path: rate
          type: number
          searchAlias: eaaAppUserRate
permissions:
  scopes:
    - storage:app
    - read:field:jira
    - write:field:jira
    - delete:field:jira
    - read:issue:jira
    - write:issue:jira
    - read:issue.property:jira
    - read:issue-meta:jira
    - read:issue-details:jira
    - read:user:jira
    - read:application-role:jira
    - write:jira-work
    - read:user.property:jira
    - read:avatar:jira
    - read:group:jira
    - read:project:jira
    - read:comment:jira
    - read:issue.vote:jira
    - read:issue.watcher:jira
    - read:comment.property:jira
    - read:dashboard.property:jira
    - read:issue-type.property:jira
    - read:issue-worklog.property:jira
    - read:project.property:jira
    - read:workflow.property:jira
import {requestJira} from "@forge/bridge";

function getUserProperty(userId) {
  return requestJira(`/rest/api/3/user/properties/eaa_app_user_rate?accountId=${userId}`, {headers: {'Accept': 'application/json'}}).then(response => {
      console.log(response.json())
  });
}

Hey @jgile,

How are you requesting the property in your JQL queries? You defined the alias as eaaAppUserRate, so you should be able to use, for example reporter.eaaAppUserRate. Looking at your error message, it seems you are trying to refer to the property by eaa_app_user_rate, which should also work, but then the syntax would be reporter.property[eaa_app_user_rate].

Hope this helps!

2 Likes