Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add new field while movig the ticket from one issue type to other issue type in the same project

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2020

Hi Team,

When issue type Requirements Gathering tickets are moving to New Feature issue type, how to add  a new field. I think we can't add it on new feature as mandatory field. It will affect new feature tickets while creating. Could you please suggest if you have any thoughts.

2 answers

0 votes
Ste Wright
Community Champion
August 20, 2020

Hi @Lakshmi CH 

You could:

  • Create a custom field named "Requirements Gathering Transition Date"
  • Make the field either not visible on the screen or only add it to the view screen (making it difficult to modify)
  • Populate the field automatically with the date based on a trigger.

For the last bullet point you will likely require an app which can provide scripting capabilities or automative actions.

You'd also need a trigger - for example if you're modifying the issue type of the issue to "New Feature" this could be the trigger - or if you've creating a new issue linked to the "Requirements Gathering" issue, that could be the trigger :)

But this method ensures the date is added automatically, rather than reliant on manual process.

If this sounds of interest, let us know and we can suggest some methods of achieving this.

Ste

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2020

@Ste Wright, we have script runner.

Ste Wright
Community Champion
August 21, 2020

Hi @Lakshmi CH 

You should be able to achieve this with a Listener - see more on how to create those on this page from their Knowledge Base :)

Ste

0 votes
John Funk
Community Champion
August 19, 2020

Hi Laksmi,

Is there a set value for a field that needs to be added? Could you do that dynamically? Or does the user have to input the value in the field during the move? 

You could make the field required using a Field Configuration for the New Feature issue type. 

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2020

Hi @John Funk ,  

the requirement is , When issue type Requirements Gathering tickets are moving to New Feature issue type, we wants to capture the date when the ticket is moved from one issue type to another issues, so while moving we need add new field called Requirements Gathering Transition Date.

John Funk
Community Champion
August 20, 2020

If you have already created the new field, simply add a Post Function to the transition in your workflow to populate that field. 

Or you can do it with an Automation rule. 

But create the field first.  ;-)

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2020

@John Funk, Thank you for your quick responses. The exact question is, 

For MD project tickets, when Type = Requirements Gathering is updated to Type = New Feature, we add/write a new Requirements Gathering Transition Date field (with timestamp to hours) to the date of the transition.

John Funk
Community Champion
August 20, 2020

So in that case you would create an Automation Rule for Issue Moved trigger.

And set the Requirements Gathering Transition Date field to a value of now()

Suggest an answer

Log in or Sign up to answer