Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

We have a custom field(select list) with values 1,2,3...70 and everytime the issue is created under

Hello Team,

We have a custom field(select list) with values 1,2,3...70 and everytime the issue is created under a project we need that this field should auto increment itself. no number should appear twice and we dont want to do it manually. We do not have JMWE but we do have scriptrunner. 

Can this be achieved?

 

Regards

Priyanka

1 answer

0 votes

It's possible to do with Scriptrunner, but the script would be quite involved - it would have to run a search to find the current largest number, add one to it, insert an entry into the custom field options, then apply the new option to the issue.

I would not waste my time with this.  I would question the use for it.  I cannot think of any use for a field like this that could not be done better and more easily in another way.

Could you tell us why you have arrived at such a terribly useless bodge?  What is the problem you are trying to solve?

Hello @Nic Brough _Adaptavist_ ,

First of all I am so glad that you took my question. Thankyou for helping people in Atlassian community.

So coming back to use case- I want to pull those issues in the dashboard for reporting purpose. We can then export that report from the dashboard gadget.

 

Regards

Priyanka

That's not a use case.  The whole point of a field is that you want to report on it somehow.

Could you explain what reporting problem you are trying to solve with this field?

Suggest an answer

Log in or Sign up to answer
TAGS

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