Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Power Script for JIRA Live Field cannot get issueType value in create screen

buzz_zhao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 23, 2021

I am got some troubles using argv["issueTypeId"] like following code:

if(argv["screen"] == "create" && argv["issueTypeId"] == "11201")

finally, I found  argv["issueTypeId"] reture null.  Any ideas?

1 answer

1 vote
Widad Dekkiche
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2021

Hello,

You could try to do "lfInstantHook("issueType","silScript"). Then use the value of argv["issueType"] in your sil script. It worked for me btw.

Good luck,

Mohammed Monir
Contributor
December 16, 2022

@Widad Dekkiche Can I use SIL script to hide issuetype in a project in jira cloud?

Miklos Tix
Contributor
September 18, 2024

Awesome, thanks @Widad Dekkiche

It works like a charm! :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events