how get all Behaviours requared field

Русланций February 19, 2024

Hi! 

We have a service that creates fields in JIRA using the JIRA API, but it cannot create a task due to a behavior written with ScriptRunner and using required fields.

I want to write my own REST service that will check if the field exists in the behaviors. Is it possible to do this? How can I get all the fields from the behaviors? Or maybe there is another way?

1 answer

1 accepted

0 votes
Answer accepted
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2024

Hi @Русланций 

Yes, this might help - https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Get-a-list-of-Scriptrunner-Behaviours/qaq-p/1863941

The behaviors will all be listed under com.onresolve.jira.groovy.groovyrunner:groovyrunner

Hope this helps

Thanks

Русланций February 19, 2024

@Pramodh M Hi, thanks for helps! 
i saw this answer, but data very confused. they dont have all id Field, and can used field name. 

I do not have the ability to properly filter this data in order to get all the required fields. Is this the only way?

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2024

Hi @Русланций

An add-on such as Power admin would help on finding this or a manual work on analysis and having this reported would be good

Suggest an answer

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

Atlassian Community Events