0

I want to create a new issue tracking list inside my team site. currently the issue will get a unique ID such as 1, 2, 3. but i need the ID to have a per-defined format. i am trying to achieve the following :-

  1. Site Admin, enter a string , such as "ABC".

  2. then new Issue item will get its unique ID as ABC-01 ,ABC,-02 , etc..

So can anyone adivce how i can achieve this ?

Thanks

3

You will need to add new column "Issue ID" in your list. Then you can use SharePoint designer workflow or event receiver to create this unique string and to update in "Issue ID" column.

Steps:

  1. Create a column "Issue ID" in your Task List
  2. Now go to SharePoint Designer, Create a workflow for task list and set it to run automatically when Item is added
  3. Now create a workflow variable of type string
  4. Assign value to this variable as "ABC" + [CurrentItem:ID]
  5. Now use "Update list item" action to update the column "Issue ID" with this variable

Hope this helps. I will not be able to provide you screenshots right now.

  • can you please adivce on this in more details ? and can i update the ID field from the workflow ? – john Gu May 7 '15 at 12:52
  • No you can not update the ID field using workflow. But you can use the ID field to fulfill your requirement. – P S May 7 '15 at 13:27
  • 1
    I have edited my answer. Please check now. – P S May 7 '15 at 13:33
  • ok i got your point but in this case to define the Issue ID , user need to modify the workflow,, but i was thinking of an approach to allow users to add the string such as "ABC" outside the workflow... – john Gu May 7 '15 at 13:38
  • 1
    Yes, this is correct – P S May 8 '15 at 4:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.