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

0 votes
Accepted answer

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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,701 views 3 11
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