Forums

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

How to create "issueFunction" custom field(JQL Functions Customfield Type) in jira??

Raju Anumula July 11, 2018

Hi Team,

Unfortunately, I deleted the issueFunction custom field in Jira, after deleting when I search query(project = "abc" AND issueFunction in linkedIssuesOf("") AND status not in (Resolved)) in search issues I will get error "Field 'issueFunction' does not exist or you do not have permission to view it". same query working in the stage. I strongly believe this error because of issueFunction delete. 

Is there any way to revert back?? or How to create issueFunction Custome field ??

Thanks in Advance.

Regards,

Raju Anumula.

2 answers

2 accepted

1 vote
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2018

You can try to disable and enable the ScriptRunner plugin and see if the field is created. But try it first on a staging environement.

Raju Anumula July 11, 2018

Hi Alexey,

In stage, there is no problem and issueFuncton custom field Available. In production, Unfortunately, the issueFuncton custom field is deleted so that's way I am getting an error?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2018

You should delete the field in the staging environement and try to return it back. Or you can make another stagin environement. Just you can not do such kind of things in production without testing.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2018

Yes, ScriptRunner hangs a good chunk of code off that field, so you do need it.

You should add a replacement field of that type, make it global, and re-index the whole system (background index will do, you don't need the locking one)

Raju Anumula July 11, 2018
0 votes
Answer accepted
Manon Soubies-Camy
Community Champion
July 11, 2018

Hi @Raju Anumula,

I agree with @Alexey Matveev, I once ran into this issue and disabling/re-enabling ScriptRunner did the trick.

What ScriptRunner version are you running though? IssueFunction should now be locked so you shouldn't be able to delete it: Lock the issueFunction custom field.

- Manon

Raju Anumula July 11, 2018

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events