Versions Compared

Key

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

...

Info
Group

A group is a stretch of word characters, a stretch of punctuation characters, a newline, or a stretch of more than one whitespace character.

Lookup user

By 29 April 2019, Atlassian will soon remove personal data from the API that is used to identify users, such as username and userKey, and instead, use the Atlassian account ID (accountId). These are the impacts on JMWE:

  • If any of your existing post-functions are using the username or the userkey they need to be replaced with the accountId.
  • If you are adding new post-functions you should not anymore specify the username or userkey but only the accountId. For example, the setting of a user type field using the Set field value post-function.

...

Panel

Test a template that fetches the username of the user the issue is assigned to:

  • Add the Set field valueissue fields post-function to a transition.
  • In the Nunjucks editor, write the following lines of code:

    Code Block
    languagejs
    linenumberstrue
    {{ issue.fields.assignee.accountId}}


  • Click on Test Nunjucks template
  • Type the Issue key of an issue assigned to a valid user.
  • Click on Test.
  • The following result is displayed:

...