Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Test a JQL expression that fetches issues in a project that are assigned to the current user.

  • Add the Link issues to current issue post-function to a transition.
  • In the JQL editor, write the following lines of code:

    Code Block
    languagejs
    linenumberstrue
    project = PSDFTEST and assignee = {{currentUser.nameaccountId}}


  • Select maximum number of issues in Max. Issues.
  • Click on Test JQL expression
  • Type the Issue key of an issue.
  • Click on Test.
  • The following result is displayed:
    Image RemovedImage Added


Debugging your JQL expression

...

Code Block
languagejs
linenumberstrue
project = PSDFTEST and reporter == {{currentUser.nameaccountId}}
  • Test the JQL expression, as explained above. The following result will be displayed.

    Image RemovedImage Added
  • Identify the problem, from the Message that displayed an error that, there is an error in the JQL query
  • Correct the problem, by modifying the expression

    Code Block
    languagejs
    linenumberstrue
    project = PSDFTEST and reporter = {{currentUser.nameaccountId}}


  • Retest the expression, by clicking on Test again and verify the result in the template test panel.
    Image RemovedImage Added