As part of one of the innovation activities, my company has implemented Jira in a project as the manufacturing records SW.
We are using the system to adapt the task/bugs issue types to record the different steps of the production. And the Sn of each maachine is manually specify in the summary of the task.
Could it be possible to implement a counter or a formula so the SN is automatically assigned or at least so it could not be duplicated by mistake?
Can I clarify the issue here.
Is it that there should never be a duplicate SN in the Summary field? So no two Issues should have the same SN?
If yes, what is the consequence of this happening? And when does the consequence take place in the workflow?
Ste
Hello Stephen,
Exactly, the identifier of the instruments (aka Serial Number) should never be duplicated. Even though the first 5 digits of the SN is the same, then it is followed by the consecutive number following the one assigned in the previous machine (plus in-between as many 0s as needed to complete 9 digits in total).
For example, if the first 5 digits are 43210, then the first instrument’s SN would be 432100001 and the following manufacture would be 432100002. This information is manually written off in the summary field and we would like to automate it.
In case two machines have the same SN when creating the second task that duplicates the SN, there should be an error message once created, or preferably the task should never be possibly created in the first place. As this field is recorded during the creation of the task, the consequence is happening even before starting the workflow or in the first step if the only option would be a warning message when duplicating SNs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's two rules here:
^ Based on the need, I do think exploring a scripted validator on the create transition, and potentially a scripted post-function would be better. But this functionality isn't natively available - you'd need an App like Scriptrunner to make these possible to explore.
---
Rule 1 is difficult to do via Automation - I've not found a great way to do this so far.
Rule 2 though I found an option - see below.
---
Rule 2 - Check for Duplicates:
A few notes on this rule...
---
Let us know if Rule 2 works for you - and if you have access to a scripting App, that'd be great!
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much @Ste Wright .
I will transfer this information to our developing team. I am sure this will be of great help to support the process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.