Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to make users choosing an issue type?


Hello Community,

So far the solution to make users choosing an issue type is that: adding the dumb issue type like "Choose an issue type" (sure with conditions preventing to create a ticket) and making it the default issue type.

The issue is the type scheme contains Task, and this type as default one cannot be changed to a custom issue type in the scheme - it seems it's the known bug (at least, in v.7.5)

When using behaviours, the initial setting setFormValue("Choose an issue type") for Task works, but except the case when Task is actually needed - it's reset to the above.

So the goal is:
1) when switching to this project, the default issue type is "Choose an issue type"

2) When choosing any issue type, it is chosen

I've played around with this code:

def issueTypeField = getFieldById(ISSUE_TYPE)
//def summ = getFieldById(SUMMARY)

def issueTypeValue = getFieldById(getFieldChanged()).value.toString()
issueTypeField.setFormValue("Choose an issue type")

if (issueTypeValue == "10000"){ //10000 is Task id

Summary was used to check values.

Can someone help me out here?



0 answers

Suggest an answer

Log in or Sign up to answer