It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I change the default priority of new issues?

Rik Nackaerts Jun 12, 2015

Can I change the default priority of new issues created through the Customer Portal? By default all the new issues are 'Medium' prioritized. Is it possible to change that? Is configurable per Service Desk or is it a global setting?

Regards

Rik

5 answers

1 accepted

5 votes
Answer accepted
Arthur Goncalves Atlassian Team Jun 12, 2015

Hi Rik,

Please take a look on this article to see how to change the default priority. smile

-- Arthur Gonçalves

Rik Nackaerts Jun 12, 2015

I overlooked that section :)

André Neves Nov 02, 2018

Arthur, can you quote the relevant section?

The only reference to "default" that I see in that page is this:

JIRA applications come with a set of default priorities

Like # people like this
An Qin (An Chin) Mar 15, 2019

@Arthur Goncalves maybe the article is changed? I can't find that either.

5 votes
Adrian Vital Mar 21, 2018 • edited Nov 02, 2018

Yes.  You can change the global settings.

or  

if you want to change for a particular workflow just do the following: 

Add a 'Update Issue Field'  post function to the 'create' transition.

Make sure to add this post function to the number 1 spot - before the issue is created. : 

example: 

The following will be processed after the transition occurs

  1. The Priority of the issue will be set to High.
  2. Creates the issue originally.
  3. Re-index an issue to keep indexes in sync with the database.
Oliviu Nita May 14, 2018

Genius !

 

This solution has to by integrated on the Atlassian doc

 

Thank you Adrian

Like Julien Noel likes this

This is a great piece of information thanks for sharing!

3 votes
Krister Persson Mar 24, 2016

IN Jira Service Desk I have found a way to set the Issue Priority default value (not the default set of values) when customer submits the value. That is done via
Service Desk >> (your specific service desk) >> Settings >> (your Request Type of choice) >> Edit Fields

Add field "Priority" and submitted when issue is created as a hidden field. In that case JIra SD asks for a default value.

My following question. Is it possible to make this happen - the preset value/default value is shown if you chose to create an issue independent of issue type directly from JIRA (outside of JIRA SD)?

 

Krister Persson Mar 24, 2016

That is via the create screen in JIRA Screen scheme for current SD JIra project.

1 vote
Young.Zhao Jul 28, 2017

Log on as an administrator.

Find the admin part and issue section,you can find "Priorities" under "Issue Attributes",then set default priority you want.

1 vote
Gilbert Louis Jun 20, 2018

Thx for the answer. To push this further can I set this default priority for just jiras in one specific project or to specific jira types within a project? so not to affect the priority on other jiras of other projects ?

Shawn McKay Sep 12, 2018

I have this same question. Can I change the default priority based on issue type?

Adrian Vital Sep 12, 2018 • edited

hmmm... tricky.

How about using Behaviour?  You can set a behavior to run only on a specific Project and Issue type.    Then you can limit which Priority Options that can be used for that specific issue type.   In my example below If issue type is "bug"  the only priorities  in the drop down menu are "low and "High".     

1. Create a new behavior

2. Select the Project(s) and Issue Type(s) impacted 

3. Create Initializer script: 


import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.sal.api.user.UserManager

import static com.atlassian.jira.issue.IssueFieldConstants.PRIORITY
def constantsManager = ComponentAccessor.getConstantsManager()

def userUtil = ComponentAccessor.getUserUtil()
log.debug ComponentAccessor.getComponent(UserManager)

def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser();

def allowedPriorities = [:];
//limit priority to priority low and high.  ***Check the priority id on your instance
def priorities = [10, 11];
for(int i=0; i<priorities.size(); i++)
{
def object = constantsManager.getPriorityObject(priorities[i].toString());
allowedPriorities.put(object.id, object.name);
}

getFieldById(PRIORITY).setFieldOptions(allowedPriorities)

Gilbert Louis Jan 03, 2019

Thank you for your detailled response. Unfortunately I'm not a developer... more a user so not sure what to do with the code you provided.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Service Desk

4 changes to queues and issues you don’t want to miss

Hello Atlassian Community! I'm Tania, a Senior Product Marketing Manager for Jira Service Desk Cloud! I'm excited to announce some exciting improvements coming up for those who work with queues and...

600 views 9 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you