/
Code snippet articles
Code snippet articles
These are the code snippet articles that can be used in Jira Misc Workflow Extensions Server.
- Accessing fields of a subtask or a parent
- Add a certain number of days to a date excluding the weekends
- Add a web link to an issue
- Add certain number of minutes/hours/days/weeks/months to a date
- Assign the related issues of the current issue to users in a Project role in Round Robin method
- Checking the value of a multi-valued field
- Code snippet to access a REST API and request JSON data
- Code snippet to access the members of an Organization
- Code snippet to add a link to a workflow transition in the email
- Code snippet to calculate the number of working days between two dates
- Code snippet to check that the current user is a member of a specific group
- Code snippet to copy the attachments added on the transition screen to the linked issues
- Fetch the Current User's Time Zone
- Make a HTTP Call From a Groovy Script
- Send Emails to Members of Group(s) Selected in the Multi-group Picker Field
- Concatenate text fields without null - Groovy
- Copy the attachments of the linked issues to the current issue
- Copy worklogs from the current issue to the new issue in “Create / Clone issue(s) (JMWE app)” post-function.
- Fetch a subset of values of a multi-valued field based on a condition
- Fetch the Component/s whose lead is a specific user
- Fetch the current active sprint of a Scrum board
- Code snippet to fetch the worklog time logged during a transition
- Fetch the value of a multi-value field when you know it has only one value
- Find the earliest unreleased version scheduled after a certain date
- Find the next unreleased version
- Getting the current user - Groovy
- Groovy snippet to get the comment visibility
- Link epic of the current ticket to new ticket in “Create / Clone issue(s) (JMWE app)” post-function.
- Link parent of the current sub-task to new issue in “Create / Clone issue(s) (JMWE app)” post-function
- Make external comment mandatory during a transition.
- Make internal comment mandatory during a transition.
- Select a subset of available options of a checklist/multi-select based on a regular expression - Groovy
- Set a date field to today's date - Groovy
- Set a single user picker field from the email address available in a free text field
- Set a version field to versions of all its linked issues
- Set an Estimate of the issue to the difference of two specific dates - Groovy
- Set assignee of the issue based on day of the month.
- Set Component/s field from a Cascading field
- Validate cascading field - The parent option is mandatory and the child option, if exists, is required.
- Uncheck/Unselect an option
- Insert a Table of Attachments in the Email Issue Post-Function
- Get the End Date of the SLA of an Issue
- Set the assignee of an issue based on time in a specific time zone
- Get the Default Value of a Custom Field
Related content
Using Groovy with JMWE
Using Groovy with JMWE
Read with this
Knowledge Base
Knowledge Base
More like this
Groovy editor in JMWE
Groovy editor in JMWE
Read with this
Workflow Extensions for JIRA Cloud
Workflow Extensions for JIRA Cloud
More like this
User created custom fields
User created custom fields
Read with this
Knowledge Base
Knowledge Base
More like this