Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-68829

Using jira.hints/TRANSITION web-item location results in Illegal hint context 'transition' specified!

XMLWordPrintable

      Issue Summary

      When using the "TRANSITION" LOCATION_CONTEXT as described in the developer tutorial, as such:

      <web-item key="my-hint" name="myHint" i18n-name-key="my-hint.name" section="jira.hints/TRANSITION" weight="40">
              <label>Custom hint for jira.hints/TRANSITION</label>
          </web-item>
      

      and setting up the appropriate screens in the workflow (attach a screen when transitioning an issue) such that a dialog appears, an error is thrown:

      and no hint is displayed:

      Unlike when other Locations are used, such as "ASSIGN":

      Environment

      Reproducible in Jira 7.10.0

      Steps to Reproduce

      1. Create a P2 app
      2. Add a web-item in atlassian-plugin with " jira.hints/TRANSITION"
      3. Setup your project workflow and attach a screen on a transition
      4. Click on transition and notice error is thrown

      Expected Results

      A hint is displayed

      Actual Results

      An error is thrown

      The below exception is thrown in the terminal:

      0:0:0:0:0:0:0:1 /secure/CommentAssignIssue!default.jspa [c.a.j.w.action.issue.CommentAssignIssue] Illegal hint context 'transition' specified!
      

      Notes

      Issue thrown by JiraWebActionSupport#getHint

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. Snip20190211_20.png
          Snip20190211_20.png
          367 kB
        2. Snip20190211_22.png
          Snip20190211_22.png
          361 kB
        3. Snip20190211_21.png
          Snip20190211_21.png
          350 kB

              Unassigned Unassigned
              acalantog Anne Calantog
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: