Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

What is an X-Priority?

The X-Priority is used to indicate the importance of a message. Microsoft only allows a 5 X-Priority levels https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Feature-request-X-Priority-header-support/td-p/1458423 and therefore the default range of X-Priorities is 1-5 with 1 relating to the highest priority and 5 the lowest.

There is a default Priority Scheme for all Projects that don’t have a defined Priority Scheme. It has the default 5 priority levels from 1-5. However, Priorities and Priority Schemes can be created and applied to a given Project. A created Priority Scheme can contain any amount of priorities starting from 1.

Due to a Priority Scheme potentially holding more than 5 Priorities matching the 5 Priority levels that Microsoft allows, JEMH has to make changes to decide which Priority should be used for a message.

How JEMH works with X-Priorities:

JEMH

Note: If the user selects chooses an X-Priority that is greater than 5, the lowest priority that is available will be used.

Example use of implementation:

Example Case Results:

Case with 1:

Number of Priorities

Chosen Priority

Result Priority

1

1

1

2

1

1

3

1

1

4

1

1

5

1

1

6

1

1

7

1

1

8

1

1

9

1

1

10

1

1

  • Case with 5

Number of Priorities

Chosen Priority

Result Priority

1

5

1

2

5

2

3

5

3

4

5

4

5

5

5

6

5

6

7

5

7

8

5

8

9

5

9

10

5

10

  • Case with 3

Number of Priorities

Chosen Priority

Result Priority

1

3

1

2

3

2

3

3

2

4

3

3

5

3

3

6

3

4

7

3

5

8

3

5

9

3

6

10

3

6

Feature Improvement:

If the user specifies that they want the x-priority to be a value higher than 5 and a priority with an id higher than 5 matches this, set this to be the priority, otherwise, default to the lowest priority.

  • No labels