Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-67997

Change Issue Type using REST API causing broken workflow

    XMLWordPrintable

Details

    Description

      Summary

      Problem happen when both "Issue Type" using a different workflow. So, when change "Issue Type" it should follow the new workflow.

      Environment

      Jira fb3a7a83

      Steps to Reproduce

      1. Create two workflow and two issue type.
      2. Associate Issue Type A with workflow A (Don't have transition to status "In Review")
      3. Associate Issue Type B with workflow B (Have transition to status "In Review")
      4. Create an issue with Issue Type A
      5. Then , change issue type A to B using Rest API :-
        PUT https://nroslan.atlassian.net/rest/api/2/issue/BUG-2
        
        {
        	"fields": 
        	{
        		"issuetype": {"id": "10005"}
        	}
        }
        

      Expected Results

      Should have transition to "In Review"

      Actual Results

      "In Review" transition button is not displayed.

      Workaround

      To change issue type , better to use "Move" option.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nroslan Atiqah Roslan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: