how to get the issueType name when at create screen ?

I need to get the value of the field issueType at create screen.

i used the function argv["issueType"]  but I didn't get the result.

Is there any way to get issueType name at the issue create screen using SIL ? 

 

5 answers

1 accepted

Hi Omar,

 

You can use the argv["issueType"] if you're listening to the changes made for the issueType. You will need lfWatch routine used in a Live Fields configuration for that and the argv["issueType"] will be used in the script used as a listener for Javascript events.

 

Regards,

Silviu

Hello, did you try issueType alone?

Hi Silviu,

I used the routine lfWatch and that works very well.

Thanks for your help

Regard, 

 

Omar.

It would not work since it will read the database value of issueType and he needs the screen value!

No, the field is set when creating issue, so we can use validator to check the issue type or condition ....

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

72 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you