Hi, As per Scriptrunner documentation, we can customize the work type dropdown using REST endpoint.
I have a question regarding this functionality, Can I customize the worktypes based on a JIRA custom field? i.e for issue A-123, the worktype dropdown will have values A,B,C but for other issue the values will differ?
I'm guessing this is in relation to: https://scriptrunner.adaptavist.com/latest/jira/working-with-tempo.html ?
If so, according to the tempo doc, you should be able to configure the URL like:
Then in the code you should be able to access that by:
Yes, I have got that working via URL. But I am not sure how do I call this service when a JIRA issue is created.
The idea is to pass the 'issue' object and depending on some custom field change the available options in work type dropdown when I log work.
I tried creating a JIRA webhook (issue created event) but that didnt change the work type options in 'log work' screen.
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG