Versions Compared

Key

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

...

In order to notify non-JIRA users, their email addresses need to be captured in a Custom Field, add an Unlimited TEXT custom field, eg 'Non JIRA participantsEmail participant' and refer to in Profile > Configuration > Email, as shown below:Image Removed

...

2. Now given there is a dedicated profile for this, you could just set the Configuration Profile > Project Mapping > Default Project Mapping to be TEST, as you don't want any specific things done to remote users. If you intend to support a given user DOMAIN, you could add another Domain Mapping to Project Mapping for say .*@faraway.com, Address Match Type: Sender, with no further changes, permissions for TEST are classic:Image Removed

...

This example just sets the global fallback so everyone internal, but everyone else for whom a mapping rule did not apply, who send email to the associated mailbox will be routed to this project:Image Removed

...

3. Create a Project Mapping for say, TEST and set an IssueType and Priority.

  • Edit the

    project

    Project Mappings section, select New Project Mapping:

...

  • Image Added

    Enter a target project key, eg TEST, and hit return to initialise the Project Mapping.

...

  • Image Added

    The Project Mapping has now been created (but has no Rules defined yet)

...

  • Image Added

    Edit the Project Mapping by selecting the pen icon:

    Image RemovedImage Added

  • The edit window is now shown, note that project related information is now available (versions,components etc). This information if set is applied only if Rules do not define the same fields. Set an IssueType and Priority for the project, if you are supporting remote non-JIRA users, also set a Reporter.

...

  • Image Added

    Hit enter/submit to SAVE this information:

...

Domain Mapping Rule Setup

To make all 'internal' user comments become private, a Group Mapping or Domain Mapping could be used. A Group Mapping could be set with 'jira-users' as the group, neatly identifying all internal users (or similar). If all users are within the same domain, then equally, a Domain Mapping could be used. A Domain mapping is shown here:

  • Re-edit the Project Mapping,

    scroll down to the Mapping Rules,

    Press Domain Rules on the left side, then click on a new Domain Mapping.

...

Imagining all internal users are from the domain @yourco.net, the following configuration can be set that matches all senders sender in the domain to have their .

  • Image Added

    Press Issue on the left side and set Viewable By Role/Group to developers to have the internal user comments visibility restricted to the group developers

...

  • Image Added

    Save the changes

...

  • Image Added

    On the Project Mapping screen, scroll down to see the saved Domain Mapping Rule:

...

 

Testing

Remote NON-JIRA user

At this point, remote non-JIRA users from that domain will be able to create issues, that will be public, created under the ID of 'admin'. Next, we'll create a JEMH TestCase to prove this works.Image Removed

  • Image Added

    Create a Test Case, updating the from: address to be a domain faraway, and hit Create.

...

  • Image Added

    Click the

    green Play

    Run button to run the test case against the (only) profile we had defined:

...

  • Image Added

    This shows that an issue has been created, that the reporter is 'admin', that the remote user email address has been captured to the

    Non JIRA participants

    Email Participant custom field:

...

JIRA user comments.

To test this, edit the testcase, adding the issue key TEST-3 , and updating the sender to match the Domain Mapping expression used earlier:Image Removed

  • Image Added

    So long as the email address relates to a registered JIRA user, has appropriate permissions in the project and is a member of the appropriate visibility group previously selected, the result should be success:

...

  • Image Added

    Looking at the issue, we should see:

...

Next Steps.

Configure the NON-JIRA IssueListener to push updates back to the remote user.