Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

TFS4JIRA Azure DevOps integration: Can not link stories to features in JIRA, that exist in ADO.

mari_guernsey
October 10, 2023

Hello

 

I am still working on a proof of concept with the above app, This is to ensure that mutlple teams working in ADO do not have to migrate to Jira, Reporting is being done by Leadership in Jira, so we need to basically have what we have in ADO, be reflected in JIRA, to generate that reporting

 

In ADO we have Epics, Features, Stories, Tasks. I have configured these also in my test environment (Jira)

 

I thought it was all going good until I manually tried to link a story to a feature before I initiated the sync

 

I'm told Jira doesnt work that way OR if it was changed it might mess up everyone else using Jira, as it may not be a project based config setting

 

Basically we dont know how to proceed

 

Please can anyone help me out here. This is a pretty important POC for us

1 answer

1 accepted

2 votes
Answer accepted
Deleted user
October 21, 2018

Hello @Justin Warwick,

 

No need of other add-on's. To remove the labels, you just need to leave the value field as empty and save the changes. See screenshot below : 

label edit.png

Thanks,

Swathi

Justin Warwick
Contributor
October 22, 2018

Thank you, Swathi, that worked for my current situation (where we just wanted to remove the issue collector label on the way in). As a further clarification, though: there is no way to remove specific labels, leaving others in place. Our only choice, by this method, is to remove all labels all at once. Is that correct?

Deleted user
October 22, 2018

Hi @Justin Warwick,

 

Yes, that's correct... unfortunately ;)

 

I know another way to implement this using add-on. Just in case if you are interested, you can try this.

Use script runner post function (custom script) in workflow transition. See the script below : 

 

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.label.LabelManager

def user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
LabelManager labelManager = ComponentAccessor.getComponent(LabelManager) def labels = labelManager.getLabels(issue.id).collect{it.getLabel()} labels -= 'labelToBeRemoved' labelManager.setLabels(user,issue.id,labels.toSet(),false,false)

 

Regards,

Swathi

Like # people like this
Justin Warwick
Contributor
October 23, 2018

Excellent, thank you, Swathi. This makes for a very complete answer and is very helpful. Cheers!

Suggest an answer

Log in or Sign up to answer