Summary of Project:
We’ve built Bulk Edit API and are building Bulk Move API (Bulk Ops REST APIs) to enable the customers to create their own use cases by consuming these APIs and perform the changes involving Editing and moving issues in bulk and be independent of our Front end.
We’re initiating an Early Access Program (EAP), where certain limitations with APIs (such as max no. of issues and fields which can be changed) will be present. It’s crucial to emphasize that this stage involves preliminary testing and doesn’t reflect the final state of Bulk Ops APIs.
Throughout this process, we anticipate numerous adjustments based on feedback and what we’ve learned over time. We’re especially interested in hearing your inputs regarding any potential impacts of Bulk Ops APIs on apps that we might have overlooked.
The RFC schedule is:
- Publish: 14th March 24
- Discuss: 28th March 24
- Resolve: 4th April 24
Problem
Bulk Edit and Bulk Move operations are quite frequently used by our customers to edit and move issues in bulk. Presently, customers rely on the front end to execute these actions, limiting them to the use cases available within our front-end interface.
There are many customers who have asked for the dedicated APIs for performing the operations like Bulk editing and Bulk move on issues in Jira Software.
The proposed solution will enable the customers to consume API and build their own use cases. More than 850 customers have asked for these APIs to be built.
Proposed Solution
We’ve built Bulk Edit API and are building Bulk Move REST API for users to consume and build their use cases. The customers will not be dependent on our front end.
| Bulk Edit API | Features |
|---|---|
| Get Fields API | 1. Search for fields |
| 2. Return paginated results | |
| 3. Default fields(based on most used fields) | |
| 4. Returns an unavailable message when a field in not bulk editable to indicate the reason. | |
| Submit API | 1. Ability to edit field values for multiple field types |
| 2. Clear field values | |
| 3. Versions, Labels and Component fields (Cascading FieldTypes) have additional options: | |
| 3a. Replace with given value | |
| 3b. Clear field | |
| 3c. Add to existing | |
| 3d. Find and remove values | |
| Get Progress API | 1. Progress of the bulk operation in percentage |
| 2. Successfully edited issues(issueIds) | |
| 3. Failed Issues | |
| 4. Failure reasons(if any) |
| Bulk Move API | Features |
|---|---|
| API INPUTS | |
| 1. Issue ID | |
| 2. Target Project keys | |
| 3. Target Issue Type | |
| 4. subtasks ↔︎ parent map [Optional] (Only needed if subtasks are moved or issue is converted into a subtask) | |
| 5. Target Issue Status | |
| Submit API | * Move Issue(s) from Single Source Project to Single Target Project |
| * Move Issue(s) from Single Source Issue Type to Single Target Issue Type | |
| * Ability to specify values for mandatory fields in target project | |
| * Ability to specify values for status transition in target project | |
| * Document defaults? | |
| Get Progress API | 1. Progress of the bulk operation in percentage |
| 2. Successfully edited issues(issueIds) | |
| 3. Failed Issues | |
| 4. Failure reasons(if any) |
Limitations
As this will be an Early Access Program, there will be some limitation on the number of issues and the number of fields which can be operated at once.
Implementation/API consumption
These APIs will have REST endpoints for which we’ll release an API document near to the start of EAP.
Asks
We’re trying to learn through RFC about:
- Any feedback you have to this RFC even if it’s simply giving it a supportive “Agree, no serious flaws”.
- What do you think about the flexibility of building your own use cases with consumption of these APIs?
- Are there other ways this may impact that we haven’t anticipated?
- What other feedback do you have to make API consumption better in the future?
We would love to have a 1:1 conversation with Partners. You can go ahead and book a slot from my Google calendar.
Sign up for the Partner Early Access Program if you’re interested in accessing these Bulk Ops REST APIs in the EAP environment.