Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How can I use a customfield to set priority?

I have tried using the script found on this page written for a JIRA 4.4 question:

I am in the lastest version of JIRA and I am using the field "severity" in a custom portal via Service Desk add-on.  Does that change the customfield ID structure?  What can I do to achive the priority being set from the value of a customfield.  


1 answer

0 votes
Boris Berenberg Community Leader Dec 18, 2014

If you mouse over the edit link for the Severity field in your Customfield admin UI, you should see the ID in the URL of the link.

Yes I have found the id and inserted it into the script.  I then copied the script into the description field of the severity customfield.  Unfortunately regardless of which radio button is selected for severity, priority always comes back the same.  So the script doesn't seem to be altering the priority.

If I understand what the script is doing, it assumes the radio button id is a variant of the customfield id as follows

customfield_10404_1, customfield_10404_2 and customfield_10404_3.  Has this script been tested or used in the latest version of Jira?  Has it been used from a customer portal generated by the Service Desk?

Thanks for your help, its greatly appreciated.

Boris Berenberg Community Leader Dec 19, 2014

Well I don't think that has been tested since 4.4 to be honest. This is not a supported behavior, but a hack we shared with the community. And I think you are right, that it wont work. I think your best bet is to put the script into the Field Help portion of the Customer Portal you are modifying. And from there, tweak the script for the UI elements seen within the Portal.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

326 views 9 7
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