Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update Count of same issue types in a custom field

I'm trying to generate Serial Numbers for Issues raised based on same Issue Type

I have created a custom field called "Serial Number" and I want it to be updated with the next number when a new Issue of the same Issue Type is generated.


Different Service Requests are being generated within one project and I want each type of requests to have their own unique number since Jira generates Issue Key with the Project prefix.

Issue Types:

  1. Complaints
  2. Requests
  3. Incidents

Hence if a new Complaint is raised, I want its "Serial Number" field to be updated based on the {count of complaints + 1}

Anyway I can do this via Project Automation?

1 answer

2 votes

So you could do this with Project Entity Properties. These are values are stored with your project, so you could have something like complaints-serial, requests-serial, and incidents-serial.

It turns out these properties can be accessed by an undocumented Smart Value, like this:


You might manually want to set these all to 1, or 100, whatever you'd like to start numbering with. I use the very handy Entity Property Tool. 

After setting the initial values, I recommend disabling the app (for all users) because there's a bug where it can't actually just be enabled for a single user, and it shows various Issue Properties that may confuse users or cause add-ons to fail if they are changed. 

Anyways, once the initial values are set, it's as simple as creating a rule triggered by Issue Creation that depending on Issue Type, it increments the appropriate counter by one and Sets the entity property for the Project. It would look something like this. (I didn't have the same issue types as you, so I used Improvements.)

Screen Shot 2021-05-08 at 6.04.46 PM.png

Suggest an answer

Log in or Sign up to answer
Site Admin

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you