an issue mask contain a cascading select field (an custom field). that mask also has a hidden group select field.
Depending which option is selected from the cascading select field, i want to populate the group select field.
I added the plugin script runner ( https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner ).
I found how to intregrate the post-function 'script post-function' to 'create issue transition' . After that you can name a built-in script or the script file path. ...which script path?
i am a beginner, so the following link isnt enough.
Your subject of the question and actual contents are totally different.
Script path is the location of of your script file where you would write code to handle the post function. You can simply embed the script in workflow itself you don't need to write it in a seperate file, coming back to your question on how to put that in workflow go to you workflow postfunctions and add a new post function.
you're right. I changed the content but not the subject.
my problem. I havent found how to embed script code to workflow post-functions.
I know how to add a post function to a workflow transition. then i see the option to use built-in scripts. I don't see an option to input the script code.
Vishwajeet is correct, in that your question doesn't really relate to what you want to do.
> Depending which option is selected from the cascading select field, i want to populate the group select field
Thanks for the hint on the behaviour plugin.
The behaviour plugin could help (creating behaviours; without a condition it also run in the CreateIssue mask?)
Am now trying to insert server-side code.
you wrote 'not yet compatible'. is there any timetable for 'compatible'
you named different different solutions. which could you recommend for solving that task? i am new to Jira development, so i like to get any hints.
thanks for the several hints. i now implemented a script runner post-function into jira.
For writing groovy code IDEA (you could update your doc to v11 ^^) seems better than eclipse.
I hope the next steps are easier.
meanwhile i solved the issue:
- using Script Runner plugin, writing code with IDEA
- adding a post function to 'Create Issue'
- reading the cascading select field
- depending on selection adding specific user-group users to watch list
thanks a lot
Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...
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