Forums

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

Update DoD based on Component selection

Piyush_Annadate
Contributor
July 17, 2018

Hi,
I'm searching for a script which will update Definition of Done based on the component selected 'live on screen'. Can't add new field into System.

I do have Script Runner Installed.

1 answer

1 vote
Tarun Sapra
Community Champion
July 17, 2018

Hello @Piyush_Annadate

If you want to update it "live on screen" i.e. update DoD based on the selection of component then the easiest way to it is to use the Behaviour module of the Script Runner plugin.

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html

Sample here

How to make a custom field default based on component chosen

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-make-a-custom-field-default-based-on-component-chosen/qaq-p/495671

Piyush_Annadate
Contributor
July 17, 2018

Thanks Tarun. Can you help with DoD update queryscripts?

Tarun Sapra
Contributor
July 17, 2018

Hello @Piyush_Annadate

There are plenty of examples on this forum, if you search on google about jira behvaiour examples

Tarun Sapra
Contributor
July 17, 2018

thus you can start working on it and if you face any specific issue then I can help you out.

Tarun Sapra
Community Champion
July 18, 2018

Hello @Piyush_Annadate

Did you try the samples, have you got it to work?

Piyush_Annadate
Contributor
July 18, 2018

Hey Tapan,

Not yet started it, will do it in a day or two. 

Suggest an answer

Log in or Sign up to answer