Hi,
I need to remove an issue type from Jira but before doing this, I need to check all existing workflows and see if it was used in a post-function, validation, etc
Anyone have a scriptunner script that can help me with this, please?
Thanks
P.N.
I understand that publicity is the core of any business but still, I specifically mentioned that I need a scriptrunner script, not an app...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try below in DB. Replace '0000' with required fieldID
Select workflowname, DESCRIPTOR from jiraworkflows where DESCRIPTOR LIKE '%customfield_00000%'
OR DESCRIPTOR LIKE '%{0000}%'
OR DESCRIPTOR LIKE '%cf[0000]%';
You can remove DESCRIPTOR from select part. It gives along text, but will have where exactly the field is used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I posted wrongly initially. It is about issue type that needs to be removed not custom field
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.