Forums

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

Scriptrunner behaviour for duplicate custom field

Mohamed Mehdi Mrad August 26, 2021

Hi,

Im looking for a Scriptrunner behaviour to find out if a custom field already exists, If it exists when the issue is created it shouldnt be added to avoid duplicate issues.

Thank you.

2 answers

0 votes
Tom Lister
Community Champion
August 26, 2021

Hi @Mohamed Mehdi Mrad 

I think that a string search of all issue summaries when an issue is created will not perform well.

How big a problem is this? Is it service desk?

Mohamed Mehdi Mrad September 3, 2021

Hi,

I need to check only per project if an issue with the same summary already exists. Im still looking for a method to find out

0 votes
DPKJ
Community Champion
August 26, 2021

Welcome to the community.

Can you elaborate here, because,

  • Fields on issue never duplicated.
  • That means that each issue with have only field with one name.
  • So I think you don't need do anything special here.
Mohamed Mehdi Mrad August 26, 2021

Hello,

thank you for your answer,

I mean on different issues. For example, I want to check if the same summary exists on  another issue, if it is so the new one doesn't get created.

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