Forums

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

I need to keep if condition so that the issue is bug then only Put method execute in scriptlistener

thumuluru.shreya
Contributor
July 25, 2024

I need to keep if condition so that the issue is bug then only Put method execute in script listener in Jira.

If the issue is bug then only the put method needs to execute

1 answer

0 votes
Mohamed Benziane
Community Champion
July 26, 2024

Hi,

To get the issuetype value you could try this in your code : 

issue.fields.issuetype.name

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events