Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,585
Community Members
 
Community Events
184
Community Groups

Change Status when creating an issue

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").

9 answers

2 accepted

People arriving to this place after googling, please go to the above ticket and "vote" for it (top right corner).

Like # people like this
2 votes
Answer accepted
Steven Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 09, 2018

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. 

Hi guys!
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.
set-the-status.png

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'


issue-automation.png

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.

I used the same field, but a different automation rule. The results are the same.

Screenshot_17.jpg

Like # people like this

How did you create the custom checkbox?

Confirmed that this works as described!

@Sarah Reed you can create the custom fields by clicking the gear icon in the top right, going to "Issues" under "Jira Settings" and then looking for "Custom Fields" in the left side-bar.

One other approach that accomplishes this without having to create a separate custom field is to come up with some "quick text" that the user can type in at the begging of the summary.  Then use an automation rule to look for issues that are created and that start with that quick text.  The automation rule can then transition the issue to the appropriate status based on that quick text, and it can remove that quick text from the issue (so its like it was never there, and so that you do not have random text in your issue).

Example:
Issue with summary that starts with "td "
The automation rule transitions the issue to a status of Today (one of my statuses in a personal task workflow). Then rule also edits the Summary field in the issue to remove the "td " - edit value of {{issue.summary.remove("td ")}}

Issue with summary that starts with "wl"   <- the automation rule transitions the issue to a status of Worklist (another status in my personal task workflow). Then rule also edits the Summary field in the issue to remove the "td " - edit value of {{issue.summary.remove("wl ")}}

The bonus of this is that you do not have an additional custom field and maintenance, and it actually ends up being really quick. This also works in Team managed projects which are little more challenging with regards to custom fields and automation rules.

With the "new" View, the location of custom fields seems to have changed.  I was able to find it here:

Custom fields - Jira (atlassian.net)

This needs to be added as an option.  It's just a headache.   These aren't solutions.  They are work arounds,

Steven Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 24, 2019

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

For instance: 

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. 

Like # people like this

This reply has been deleted.

Steven Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 18, 2019

Shawn, I don't think this question has anything to do with your issue.

2 votes
Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 09, 2018

Exactly as @Steven Behnke said. With Jira Service Desk you can use Automation to accomplish this.

Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 09, 2018

Well @Michael J Love gave an obvious idea. You can make the transition available, but only use the transition that jump statuses when you need it!

You could also use a condition in that transition that avoid mistakes.

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.

Update 2023: Atlassian has added this feature and has been rolling it out (amidst quite somo criticism) from users who didn't need the feature. ;-)

 

An example:
2023-03-23 17.07.58 whitestack.atlassian.net 1962333ab2a0.png

I just want to agree with the consensus here.

I've been sent here by my producer because he, and other members of the team, find it to be a UX drag to create tickets and not be able to set them as "ready for development" or in our case "Not Started".  (Same/Same) 

I don't want to expose the team to the ENTIRE backlog on their Kanban board. Just the things that have been groomed and selected. And yes, sometimes we know they're selected as we make them. 

It's Agile dev after all.  

This is a UX issue and it should be as simple as selecting, somewhere, to add the status dropdown to the ticket creation window. 

I "fixed" this issue by changing my Jira usage habits. When I need to create new issue and start working on it instantly - I do following

  • add new issue
  • click on "popup message" and open issue page
  • set status to "In progress"

That's pretty logical, because I don't need to create few "In progress" issues and I need to open issue page anyway in order to add comments to it about progress etc.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events