When creating an issue I'd like to be able to edit starting Status so that I don't need to create an issue and then change status as a two-step process (which is slower). How can I achieve this?
Context: In our project, most of the issues that are created go to the backlog (workflow starts with status "New" which isn't shown in boards), but we also frequently create issues which should go to the board directly (status "Ready for development").
It's not possible out of the box.
For my instance I have a listener that checks for a customfield value. If this customfield value (auto-close ticket) is present, the listener automatically fires the Close Issue transition.
It sounds like you'd want something similar.
Found a workaround that's could be useful not only for me:
1. Create a checkbox custom field with the name 'Set the status' (or other) with option (e.g status Selected for development) and add it to the issue view.
You will see it on your 'create issue' window.
Actually you could make as many statuses as you want.
2. Create an trigger with condition and action in Jira Automation (it's free):
When: Issue created ->
If: Set the status is not empty (different if you created many statuses)
Then: Transition the status to 'Selected for development'
That's all, now if you select the status while the issue creation it will be automatically change the status.
But anyway hope that Jira developers will focus on that issue soon.
It's not really that complicated. Jira does not treat the Workflow/Status as a field. It's a complex arrangement of states, actions, conditions, validations, and other properties. Just 'setting' the status makes no sense whatsoever.
You should look into IssueService and the Workflow XML. It's pretty clear that the underlying Workflow Engine (OS Workflow) accepts and supports an Initial Action, which clearly Atlassian has mirrored into their model: https://docs.atlassian.com/software/jira/docs/api/latest/com/atlassian/jira/bc/issue/IssueService.html
create(ApplicationUser user, IssueService.CreateValidationResult createValidationResult, String initialWorkflowActionName)
The IssueService::create method clearly has an argument `initialWorkflowActionName`. Presumably there's a method of modifying the Workflow XML to pass in this initialWorkflowActionName somehow. I would imagine that would give you what you're looking for, but that's just a guess on my part.
not be complicated + a bunch of XML + a create() function is an oxymoron :)
I want to be able to create some tickets to go straight to the backlog, and other tickets to go straight into my "selected for development" column when I create that ticket. This is a UX problem and not a technical one.
I edited my workflow so that the first status upon creation is "Backlog".
You need to copy your existing workflow. Edit it, and then assign the scheme to the issue types.
It will ask you to map statuses on any existing issues that use the status that is no longer in your workflow.
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