Forums

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

How to Automate the new ticket creation based on a date?

Manoj
Contributor
April 30, 2019

Dear Experts,

Request for your help!

I am owning a project which required manual intervention now i have to reduce the dependency, basically its resource management project.

I have custom field i.e. employee resigned date [which is the last field] and i want if someone fill the resigned date in particular field, it will promptly ask whether you want to create a new ticket for backfill position, as soon as person marked yes it will create a new auto ticket for him.

Please guide me through the process.

It is very urgent to resolve for me. :(.

 

Thanks!

M

2 answers

2 accepted

0 votes
Answer accepted
Tarun Sapra
Community Champion
May 3, 2019

Hello @Manoj 

Field based permissions are not supportted in Jira, instead Jira has issue based permissions.

But with the help of Script runner plugin's behaviour module you can have field level permissions.

Please see an sample here

https://scriptrunner.adaptavist.com/5.4.47/jira/recipes/behaviours/field-readonly-except-role.html

Manoj
Contributor
May 5, 2019

Thanks Tarun, i shall look into this. since I m new hence taking bit time to understand the jira functionality. 

Script seems completely new for me to work on.

 

Thanks,M

0 votes
Answer accepted
Tarun Sapra
Community Champion
April 30, 2019

Hello @Manoj 

Your requirement can't be implemented using out of the box features. You will need a paid plugin like Script runner.

Using Script runner it can be easily implemented.

First use the behaviour module of the plugin, if someone fills in the date value for the "employee resign field" then you can show another field called "backfill position" which can be radio button (yes, or no) and based on this a listener can be triggered can be create another linked ticket if the value selected is Yes. And if all this is happening on create screen then you will not need a listener rather can just use a post-function.

Basically here's an example of show/hide field using behaviour module

https://www.idalko.com/use-behaviour-functionality-script-runner-show-hide-fields/

In order to implement everything, you will need to write a bit of code and understand how the Script runner plugin works.

Manoj
Contributor
May 2, 2019

Thanks Tarun, this is helpfull and how can i find the Id number of custom fields? 

Tarun Sapra
Community Champion
May 2, 2019
Like anasuya likes this
Manoj
Contributor
May 3, 2019

Thanks Tarun, I have one more query, hope you dont mind to help on this.

i have to assign few tickets [is it possible to assign bulk ticket at one shot] to certain people in a group, but i need them to show only limited custom fields on each ticket.

as of now i have say 25 custom fields in one ticket and i want them to see only 10, is that possible to do? I am looking forward for your response.

Thanks, 

Regards, M

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events