I need to create a document code in a customfield (document_code) that autoincreases based on the issue type. for example
I insert the first record with issuetype = bug -> document_code = bug-001
I insert the second record with issuetype = change request -> document_code = CR-001
I insert the third record with issuetype = bug --> document_code = bug-002
I insert the fourth record with issuetype = New Request -> document_code = NR-001
I insert the fourth record with issuetype = Change Request -> document_code = NR-002
and so on
Any suggestions?
I would implement a sequence per issue type and then a scripted custom field. The sequence value could be stored via ActiveObjects in the JIRA database.
You could do this with the ScriptRunner app.
I think I'll do it manually. Script Runner has a cash cost
Thank you for your suggestion
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.